/* =====================================
   KLUBÍK PRO NEJMENŠÍ
===================================== */
/*
body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--blue);
  background: #fff;
  color: #2d3469;
}

h1, h2, h3, h4, h5, h6,
.w3-button,
.w3-bar-item {
  font-family: "Nunito", Arial, sans-serif;
}
*/

.klubik-page, .page-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 30px 40px;
}

/* =====================================
   3 SLOUPCE
===================================== */

.klubik-layout {
    display: grid;
    grid-template-columns: 34% 33% 33%;
    gap: 18px;
    align-items: start;
}

/* =====================================
   LEVÝ SLOUPEC
===================================== */

.klubik-title-row {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 15px;
}

.klubik-title-row img {
    width: 150px;
    height: auto;
}

.klubik-title-row h1 {
    margin: 0;
    font-size: 5.2rem;
    line-height: 0.9;
    text-transform: uppercase;
    color: #23810d;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0,0,0,.15);
}

.klubik-title-row h2 {
    margin: 0;
    font-size: 3.1rem;
    line-height: 1;
    text-transform: uppercase;
    color: #f5b100;
    font-weight: 900;
}

.klubik-left h3 {
    color: #23810d;
    font-size: 2rem;
    margin-top: 10px;
}

.klubik-left p {
    color: #1f2555;
    line-height: 1.6;
    font-size: 1.2rem;
}

/* =====================================
   BOX O KLUBÍKU
===================================== */

.info-box {
    display: flex;
    gap: 18px;

    background: #f8f9f0;

    border: 1px solid #d7dcc6;
    border-radius: 22px;

    padding: 24px;

    margin-top: 22px;
}

.info-box img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.info-box h4 {
    margin: 0 0 10px;
    color: #23810d;
    text-transform: uppercase;
    font-size: 1.8rem;
}

.info-box ul {
    margin: 12px 0 0;
    padding-left: 22px;
}

.info-box li {
    margin-bottom: 6px;
    color: #1f2555;
}

/* =====================================
   KDY A KDE
===================================== */

.info-box.small {
    align-items: center;
}

.info-box.small p {
    margin: 4px 0;
}

/* =====================================
   PLAKÁT
===================================== */

.poster {
    width: 100%;
    display: block;

    border-radius: 24px;

    box-shadow: 0 5px 20px rgba(0,0,0,.12);
}

/* =====================================
   PRAVÝ SLOUPEC
===================================== */

.top-photo {
    width: 100%;
    display: block;

    border-radius: 24px;

    margin-bottom: 20px;
}

.price-box {
    background: #f7f8fc;

    border: 1px solid #cfd8ef;
    border-radius: 24px;

    padding: 28px;

    margin-bottom: 24px;
}

.price-box h3 {
    margin-top: 0;
    color: #1f2555;
    font-size: 2rem;
    text-transform: uppercase;
}

.price-box p {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 0;

    border-bottom: 1px dotted #a4abc8;

    color: #1f2555;
}

.price-box p:last-child {
    border-bottom: none;
}

.price-box strong {
    white-space: nowrap;
}

.join-box {
    position: relative;

    background: #fffdf5;

    border: 1px solid #efd999;
    border-radius: 24px;

    padding: 25px;
}

.join-box h3 {
    margin-top: 0;

    color: #f09a00;

    text-transform: uppercase;
}

.join-box p {
    color: #1f2555;
    line-height: 1.7;
}

/* =====================================
   FOTOGALERIE
===================================== */

.klubik-gallery {
    margin-top: 30px;
}

.klubik-gallery h3 {
    color: #23810d;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 165px;

    object-fit: cover;

    border-radius: 14px;

    transition: .3s;
}

.gallery-grid img:hover {
    transform: translateY(-4px);
}

.where-box img {
  width: 76px;
  height: 76px;
}

.join-box {
  overflow: hidden;
}

.yellow-corner {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: auto;
}

.gallery-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gallery-title img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}



/* =====================================
   TABLET
===================================== */

@media screen and (max-width: 1200px) {

    .klubik-layout {
        grid-template-columns: 1fr;
    }

    .klubik-title-row {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================
   MOBIL
===================================== */

@media screen and (max-width: 768px) {

    .klubik-page {
        padding: 15px;
    }

    .klubik-title-row {
        flex-direction: column;
        text-align: center;
    }

    .klubik-title-row h1 {
        font-size: 3.4rem;
    }

    .klubik-title-row h2 {
        font-size: 2rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: auto;
    }
}

/* =====================================
   doladeni
===================================== */

.join-box {
    position: relative;
    overflow: hidden;
}

.green-heart {
    position: absolute;

    top: 55px;
    right: 28px;

    width: 72px;
    height: auto;
}

.yellow-corner {
    position: absolute;

    top: 8px;
    right: 18px;

    width: 70px;
    height: auto;
}


/* =====================================
   doladeni  bloku PRIDEJTE SE K NAM
===================================== */


.join-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    background: #fffdf5;

    border: 1px solid #efd999;
    border-radius: 24px;

  /*  padding: 30px;*/
}

.join-text {
    flex: 1;
}

.join-text h3 {
    margin-top: 0;
    color: #f09a00;
    text-transform: uppercase;
}

.join-text p {
    color: #1f2555;
    line-height: 1.7;
}

.join-icon {
    position: relative;
    width: 140px;
    min-width: 140px;
    height: 140px;
}

.green-heart {
    position: absolute;
    right: 0;
    top: 35px;

    width: 90px;
    height: auto;
}

.yellow-corner {
    position: absolute;
    top: 0;
    right: 0;

    width: 70px;
    height: auto;
}

/* =====================================
   doladeni  bloku CENIK
===================================== */

.price-info {

    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 25px;
    color: #1f2555;
    font-size: 1.05rem;
    line-height: 1.55;

}

.price-info img {

    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-top: 3px;

}

/* =====================================
   KLUBÍK - NÁŠ TÝM
===================================== */

.team-page {
  max-width: 1500px;
  margin: 0 auto;
  padding: 25px 34px 45px;
}

.team-intro {
  text-align: center;
  margin-bottom: 34px;
}

.team-intro h1 {
  margin: 0 0 22px;
  color: #1398a8;
  font-size: clamp(38px, 4vw, 68px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 900;
}

.team-intro-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 26px 34px;
  background: #fffdf5;
  border: 1px solid #efd999;
  border-radius: 24px;
  color: #1f2555;
  text-align: left;
  font-size: 19px;
  line-height: 1.55;
}

.team-intro-box p {
  margin: 0 0 14px;
}

.team-intro-box ul {
  margin: 16px 0 0;
  padding-left: 24px;
}

.team-intro-box li {
  margin-bottom: 8px;
}

.team-posters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,.09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 26px rgba(0,0,0,.14);
}

.team-card img {
  width: 100%;
  display: block;
  aspect-ratio: 724 / 1024;
  object-fit: cover;
}

.team-card h2 {
  margin: 0;
  padding: 18px 16px 20px;
  color: #1398a8;
  text-align: center;
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 900;
}

/* TABLET */
@media screen and (max-width: 1200px) {
  .team-posters {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBIL */
@media screen and (max-width: 650px) {
  .team-page {
    padding: 18px 16px 34px;
  }

  .team-intro-box {
    padding: 22px;
    font-size: 17px;
  }

  .team-posters {
    grid-template-columns: 1fr;
  }
}


/* =====================================
  LIGHTBOX
===================================== */

article.team-card img {

    cursor: zoom-in !important;

}

.lightbox-link {

    cursor: zoom-in !important;

}

.team-card .lightbox-link,

.team-card .lightbox-link img {

  cursor: zoom-in !important;

}

/* LIGHTBOX */

#lightbox.lightbox {

  display: none;

  position: fixed;

  inset: 0;

  z-index: 999999;

  background: rgba(0, 0, 0, 0.88);

  align-items: center;

  justify-content: center;

  padding: 30px;

}

#lightbox.lightbox.open {

  display: flex;

}

#lightbox.lightbox img {

  max-width: 95vw;

  max-height: 92vh;

  width: auto;

  height: auto;

  object-fit: contain;

  border-radius: 12px;

}

.lightbox-close {

  position: fixed;

  top: 18px;

  right: 30px;

  z-index: 1000000;

  color: #fff;

  font-size: 56px;

  line-height: 1;

 cursor: pointer;

}


/* odkazy na plakaty - clenky tymu */

.team-card {
  position: relative;
}

.team-card .lightbox-link {
  display: block;
  position: relative;
  z-index: 5;
  cursor: zoom-in !important;
}

.team-card .lightbox-link img {
  display: block;
  width: 100%;
  cursor: zoom-in !important;
}

.team-card h2 {
  position: relative;
  z-index: 1;
}

.team-card:hover,
.team-card:hover * {
  cursor: pointer !important;
}


/* =====================================
  FOTOGALERIE
===================================== */

.gallery-page, .fotogalerie-page {
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px 34px 60px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 38px;
}

.gallery-header h1 {
  color: #1398a8;
  font-size: clamp(40px, 4vw, 68px);
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 900;
}

.gallery-header p {
  max-width: 900px;
  margin: 0 auto;
  color: #1f2555;
  font-size: 21px;
  line-height: 1.6;
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-photo {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,.12);
  cursor: pointer;
}

.gallery-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.gallery-photo:hover img {
  transform: scale(1.05);
}

@media (max-width: 1000px) {
  .gallery-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .gallery-page, .fotogalerie-page {
    padding: 20px 16px 40px;
  }

  .gallery-grid-full {
    grid-template-columns: 1fr;
  }

  .gallery-photo img {
    height: auto;
  }
}




/* =========================================================
   PROGRAM DNE – KLUBÍK KLECANY
   Tento soubor styluje pouze obsah stránky Program dne.
   Nezasahuje do hlavičky, hlavního menu ani patičky.
========================================================= */

.program-page {
  background: #fff8e8;
  padding-bottom: 50px;
}

/* HERO BLOK */

.program-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 22px;
}

.program-hero-inner {
  position: relative;
  overflow: hidden;
  padding: 42px 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 20%, rgba(247, 201, 72, 0.45), transparent 25%),
    radial-gradient(circle at 88% 24%, rgba(74, 163, 223, 0.28), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, #fff4d8 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.program-hero-inner::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #e84b3c;
  opacity: 0.11;
}

.program-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #e84b3c;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.program-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #222;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
}

.program-hero p {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 14px 0 0;
  color: #666;
  font-size: 18px;
  line-height: 1.6;
}

/* PODMENU KLUBÍKU */

.klubik-submenu {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.klubik-submenu a {
  display: inline-block;
  padding: 10px 17px;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: 0.2s ease;
}

.klubik-submenu a:hover {
  background: #fff3c4;
  transform: translateY(-1px);
}

.klubik-submenu a.active {
  background: #4aa3df;
  color: #fff;
}

/* OBSAH */

.program-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.program-intro {
  margin-bottom: 26px;
  padding: 24px 28px;
  border-radius: 24px;
  border-left: 8px solid #f7c948;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.program-intro p {
  margin: 0;
  color: #555;
  font-size: 17px;
  line-height: 1.65;
}

/* PROGRAMOVÉ KARTY */

.program-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.program-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.program-card-heading {
  padding: 24px 28px;
  color: #fff;
}

.program-card-heading.morning {
  background: linear-gradient(135deg, #f7c948, #f0a500);
}

.program-card-heading.afternoon {
  background: linear-gradient(135deg, #4aa3df, #267fbd);
}

.program-card-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
}

/* ŘÁDKY PROGRAMU */

.program-list {
  padding: 22px 26px 28px;
}

.program-row {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed #ddd;
}

.program-row:last-child {
  border-bottom: none;
}

.program-time {
  color: #e84b3c;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.program-text {
  color: #444;
  font-size: 16px;
  line-height: 1.55;
}

/*To jsou poškozené odrážky z CSS.*/

/*V CSS máš u programu tuto část:

.program-text::before {
  content: "•";
  margin-right: 7px;
  color: #7cc576;
  font-size: 24px;
  font-weight: 800;
  line-height: 0;
  vertical-align: -2px;
}*/

/*Ta zelená značka měla být normálně jen zelená tečka • před textem. Jenže se pravděpodobně rozhodilo kódování souboru CSS. Prohlížeč pak znak • nezobrazí správně a ukáže náhradní symbol s otazníkem.

Nejjednodušší oprava: nahraď řádek:

content: "•";

tímto bezpečnějším zápisem:

content: "\2022";

Celá opravená část bude:*/

.program-text::before {
  content: "\2022";
  margin-right: 7px;
  color: #7cc576;
  font-size: 24px;
  font-weight: 800;
  line-height: 0;
  vertical-align: -2px;
}


/* POZNÁMKA */

.program-note {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 24px;
  border-left: 8px solid #4aa3df;
  background: #eef8ff;
  color: #38566b;
  font-size: 16px;
  line-height: 1.65;
}

.program-note strong {
  color: #24485f;
}

/* RESPONZIVITA */

@media (max-width: 900px) {
  .program-hero h1 {
    font-size: 34px;
  }

  .program-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .program-page {
    padding-bottom: 35px;
  }

  .program-hero {
    padding-top: 24px;
  }

  .program-hero-inner {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .program-hero h1 {
    font-size: 30px;
  }

  .program-hero p {
    font-size: 16px;
  }

  .program-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .program-time {
    font-size: 17px;
  }

  .program-card-heading h2 {
    font-size: 22px;
  }
}


.program-team-photo {
  width: calc(100% - 40px);
  max-width: 980px;
  margin: 35px auto 45px auto;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  background: #fff;
}

.program-team-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .program-team-photo {
    margin: 25px auto 35px;
    border-radius: 18px;
  }
}

.program-page,
.program-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.program-content {
  width: min(100%, 1200px);
  max-width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}


/*  uvodni stranka */ 

.klubik-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.klubik-card {
  display: block;
  min-height: 100%;
  border-radius: 24px;
  padding: 28px 24px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.klubik-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.14);
}

.klubik-card article {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.klubik-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.klubik-card h2 {
  margin: 0 0 15px;
  font-size: 25px;
  font-weight: 800;
}

.klubik-card p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
}

.klubik-link {
  margin-top: auto;
  display: inline-block;
  font-weight: 800;
  text-decoration: underline;
}

.klubik-yellow {
  background: #fef7d6;
}

.klubik-green {
  background: #eaf7f0;
}

.klubik-pink {
  background: #fdecef;
}

.klubik-blue {
  background: #eaf2fb;
}

/*
.page-hero {
  padding: 70px 20px 55px;
  text-align: center;
}*/

.page-hero {
background: #f7d85c;
border-radius: 24px;
padding: 45px 30px;
margin-bottom: 40px;
text-align: center;
}

.page-hero h1 {
  margin: 0 0 15px;
  font-size: 42px;
  font-weight: 800;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.6;
}

.klubik-hero {
  background: #f6d74f;
  color: #222;
}

.page-section {
  padding: 50px 20px 70px;
}

.intro-box,
.highlight-box,
.rules-box,
.contact-box {
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.intro-box h2,
.highlight-box h2,
.rules-box h2,
.contact-box h2,
.info-card h2 {
  margin-top: 0;
  color: #222;
  font-size: 28px;
}

.intro-box p,
.highlight-box p,
.info-card p,
.contact-box p {
  font-size: 17px;
  line-height: 1.7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.info-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.info-card ul,
.rules-box ul {
  padding-left: 22px;
  margin-bottom: 0;
}

.info-card li,
.rules-box li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.6;
}

.highlight-box {
  background: #fef7d6;
  border-left: 8px solid #f6d74f;
}