.gallery img{
 
    margin: 2px 2px
  }
  /* pro bílý pruh v bonusech, mezi jednotlivými knihami*/
  /* Resetování výchozích okraje a paddingu pro body a html */
body, html {
  margin: 0;
  padding: 0;
}

/* Styl pro bílý pruh */
.white-bar {
  height: 100px; /* Výška 100px */
  width: 100%; /* Šířka 100% - zabírá celou šířku stránky */
  background-color: white; /* Bílé pozadí */
}


/*pro stánku archiv*/
body {
  font-family: Arial, sans-serif; /* Nastavení fontu */
  margin: 0; /* Resetování okraje */
  padding: 20px; /* Vnitřní okraj pro lepší vizuální vzhled */
}

.grey-section {
  background-color: lightgrey; /* Šedý pruh */
  padding: 10px; /* Vnitřní okraj pro lepší vizuální vzhled */
  color: grey; /* Barva textu */
}

.white-section {
  background-color: white; /* Bílý pruh */
  padding: 10px; /* Vnitřní okraj pro lepší vizuální vzhled */
  color: grey; /* Barva textu */
}

.date {
  margin-left: 100px; /* Odsazení data od levého kraje */
  font-size: 14px; /* Menší velikost písma pro datum */
}

.text-content {
  margin-left: 100px; /* Odsazení textu od levého kraje */
}

.center-image {
  text-align: center; /* Zarovnání obrázku na střed */
  margin-top: 20px; /* Mezera nad obrázkem */
}

.center-image img {
  max-height: 300px; /* Maximální výška obrázku */
  width: auto; /* Automatická šířka pro zachování poměru stran */
}


/*obrázek na hlavní straně*/

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  position: relative;
}

.image-container {
  position: relative;
}

img.responsive-image {
  width: 100%;
  height: auto;
  display: block;
}

.text-bottom-left {
  position: absolute;
  bottom: 10px; /* Vzdálenost od spodního okraje */
  left: 10px; /* Vzdálenost od levého okraje */
  color: white; /* Bílá barva textu */
  font-size: 18px; /* Velikost písma */
} 

/* --- Lightbox fix (stay at viewport, no jump to page top) --- */
.lightboxOverlay,
#lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1050 !important;
}

#lightbox .lb-image {
  max-width: 90vw;
  max-height: 80vh;
}

#lightbox .lb-outerContainer,
#lightbox .lb-dataContainer {
  max-width: 92vw;
}

/* ===== ZTRACENÁ PÍSMENA – DETAIL STRÁNKY (hra-1.html) ===== */
.detail-hero { padding: 30px 0 10px 0; }
      .detail-title { font-weight: 900; letter-spacing: -0.02em; }

      .meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 22px;
        align-items: center;
        opacity: .85;
      }
      .meta-row i { margin-right: 6px; }

      .cover-wrap img{
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        max-width: 560px;
      }

      
      

      .video-wrap { background: #f0f8ff; }
      .story-wrap { background: #f0f8ff; }

      .review-card {
        background: #ffffff;
        border: 1px solid rgba(0,0,0,.06);
        border-radius: 18px;
        padding: 22px;
        height: 100%;
        box-shadow: 0 14px 40px rgba(0,0,0,.04);
      }
      .review-card .stars { letter-spacing: 2px; opacity: .8; }
      .review-card .who { margin-top: 14px; font-weight: 900; }
      .review-card .where { opacity: .7; font-size: .95rem; }

      .bonus-card {
        background: #ffffff;
        border: 1px solid rgba(0,0,0,.06);
        border-radius: 18px;
        padding: 18px;
        height: 100%;
      }
      .bonus-card a{ text-decoration: none; font-weight: 900; }
      .bonus-card .hint{ opacity: .7; margin-top: 6px; font-size: .95rem; }

      .btn-row .btn { margin-right: 10px; margin-bottom: 10px; }

      .ratio-16x9 {
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 18px 50px rgba(0,0,0,.06);
      }

      .ideas-wrap { background: #f0f8ff; }
      .idea-pill {
        display: inline-flex;
        gap: 10px;
        align-items: flex-start;
        padding: 14px 16px;
        border-radius: 16px;
        background: rgba(255,255,255,.9);
        border: 1px solid rgba(0,0,0,.06);
      }
      .idea-pill i { margin-top: 2px; }

      .excerpt {
        background: #ffffff;
        border: 1px solid rgba(0,0,0,.06);
        border-radius: 18px;
        padding: 26px;
        box-shadow: 0 14px 40px rgba(0,0,0,.04);
      }
      .excerpt p { opacity: .9; }
      .excerpt .small { opacity: .7; }

/* ===== HERO – ZTRACENÁ PÍSMENA (styl jako reference) ===== */
.book-hero{
  padding: 95px 0 60px 0;
  background: #ffffff;
}
.book-title{
  font-size: 3.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.book-title-line{
  width: 64px;
  height: 3px;
  background: #c8b1a6;
  margin: 18px auto 22px auto;
}
.book-subtitle{
  font-size: 1.25rem;
  opacity: .75;
  max-width: 820px;
  margin: 0 auto;
}
.book-cover{
  max-width: 460px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
}
.book-hero .meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  opacity: .85;
}
.book-hero .meta-row i{ margin-right: 6px; }

@media (max-width: 768px){
  .book-title{ font-size: 2.3rem; }
  .book-subtitle{ font-size: 1.05rem; }
  .book-hero{ padding: 70px 0 45px 0; }
}

/* ===============================
   HRAVÉ PRUHY – VYLADĚNO
================================ */



/* barevný akcent nahoře */


/* jemné puntíky – 2 rohy */
.section-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255,179,138,0.18) 18%, transparent 19%) 105% 85% / 18px 18px no-repeat,
    radial-gradient(circle, rgba(255,179,138,0.14) 18%, transparent 19%) -5% 20% / 18px 18px no-repeat;
  pointer-events: none;
}

/* text */


/* mobil */
@media (max-width: 768px) {
  
  
}


/* ===============================
   HRAVÉ PRUHY – POHÁDKOVÝ GRADIENT
================================ */


/* ===============================
   HRAVÉ PRUHY – JEMNÝ POHÁDKOVÝ GRADIENT
================================ */

.section-band {
  background: linear-gradient(
    120deg,
    #d8ccff 0%,
    #cfe0ff 35%,
    #bfe8ff 70%,
    #b2e0f0 100%
  );
  padding: 60px 0;
  text-align: center;
  position: relative;
}

/* jemné zesvětlení přes overlay */
.section-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  pointer-events: none;
}

/* text */
.section-band p {
  margin: 0;
  font-weight: 800;
  font-size: 1.6rem;
  color: #1f1f1f;
  letter-spacing: .02em;
}

/* ===============================
   BONUSY KE HŘE – NOVÝ STYL
================================ */

.game-bonus-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.game-bonus-inner {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.05);
}

.game-bonus-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.game-bonus-image {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 16px;
}

.game-bonus-content h5 {
  margin-bottom: 6px;
  font-weight: 800;
}

.game-bonus-content p {
  margin-bottom: 10px;
  opacity: .7;
}

.game-bonus-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(90deg, #cfe0ff, #bfe8ff);
  padding: 6px 12px;
  border-radius: 999px;
}

.game-bonus-type i {
  font-size: 1rem;
}

/* ===== BONUS TYPY – 3 BARVY ===== */

.game-bonus-type{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:.85rem;
  padding:6px 12px;
  border-radius:999px;
}

/* PDF */
.bonus-pdf{
  background: rgba(220,53,69,.12);
  color:#dc3545;
}

/* Audio */
.bonus-audio{
  background: rgba(255,140,0,.16);
  color:#ff7a00;
}

/* Video */
.bonus-video{
  background: rgba(111,66,193,.15);
  color:#6f42c1;
}

/* Jemný "Hartl-like" dojem: čisté bloky + hover na obrázek */
      .game-hero {
        padding: 40px 0 10px 0;
      }
      .game-hero h1 {
        font-weight: 800;
        letter-spacing: -0.02em;
      }
      .game-card a.game-cover {
        display: block;
        position: relative;
        overflow: hidden;
      }
      .game-card a.game-cover img {
        transition: transform .35s ease;
      }
      .game-card a.game-cover:hover img {
        transform: scale(1.03);
      }
      .game-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        opacity: .85;
      }
      
      .game-actions .btn {
        margin-right: 10px;
        margin-bottom: 10px;
      }
      /* Na mobilech ať je víc „vzduchu“ */
      @media (max-width: 991px){
        .game-card .px-5 { padding-left: 24px !important; padding-right: 24px !important; }
        .game-card .py-5 { padding-top: 24px !important; padding-bottom: 24px !important; }
      }

      /* web Knihy - ikonky u knih, aby byla mezera) */
      
      

      /* web Knihy - ikonky u knih, aby byly barevné) */
        
        .bi-stars{
          color:#f4b400;
        }

        .fa-clover{
          color:#2a9d47;
        }

        .bi-heart-fill{
          color:#e63946;
        }

      .bi-people-fill{
        color:#457b9d;
        }

        .bi-compass{
         color:#6f42c1;
        }

      .bi-headphones{
        color:#ff7a00;
        }

.bi-book-half{
  color:#457b9d;
}

.bi-file-earmark-text{
  color:#8e6bbf;
}

      /*mezera mezi tlačítky vedle sebe*/
      .custom-btn + .custom-btn{
        margin-left:12px;
      }

@media (max-width: 991px) {
    .game-actions .custom-btn + .custom-btn {
        margin-left: 0;
    }
}



.game-card .game-actions{
  margin-top:40px;
}


/* finální doladění stránky knih */


.game-actions{
  margin-top: 24px;
}

.game-actions .btn{
  margin-top: 0;
}


/* lepší mezera mezi ikonami a textem */
/*.game-badge span{
  margin-right:26px;
  margin-bottom:16px;
  font-weight:500;
  color:#2b2b2b;
}



.game-badge{
  margin-bottom:28px;
}
/*
pokud bych chtěl ty ikonky mít pod světlejším rámečkem aby vystouply (knihy a hry), pak je třeba nahradit dva odstavce výšetímto :*/
.game-badge{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:48px;
}

.game-badge span{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:#ffffff;
  color:#2b2b2b;
  font-weight:600;
  font-size:1rem;
  line-height:1.2;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}



.game-badge i{
  font-size:1.25rem;
  margin-right:10px;
  vertical-align:middle;
}



/* =====================================
   NABÍDKA - LETÁČEK + GALERIE FOTEK
   ===================================== */

.front-product .center-image {
    text-align: center;
    margin-top: 20px;
}

.front-product .center-image .text {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

/* odkazy s obrázky vedle sebe */
.front-product .center-image a {
    display: inline-block;
    margin: 6px;
    vertical-align: top;
}

/* přepíše původní display:block z template */
.front-product .center-image a img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    max-height: 220px;
    object-fit: cover;
    margin: 0;
}

/* letáček zůstane větší */
.front-product .center-image:first-of-type img {
    max-height: 320px;
}

.story-wrap {
    margin-top: -1px;
}

.home-section-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

/* BONUSY – všechny karty stejně vysoké */
.bonus-grid > [class*="col-"] {
  display: flex;
}

.bonus-grid .game-bonus-card {
  display: flex;
  width: 100%;
  height: 100%;
}

.bonus-grid .game-bonus-inner {
  width: 100%;
  height: 100%;
}

/* =========================================================
   DETAIL BESED
   Společné styly pro detailní stránky besed
   ========================================================= */

.beseda-hero-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}

.beseda-hero-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
}

.beseda-hero-badges span {
  white-space: nowrap;
}

.beseda-choice {
  padding: 18px 0 0;
}

.beseda-choice .choice-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.beseda-choice .choice-card {
  height: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.beseda-choice .choice-link:hover .choice-card,
.beseda-choice .choice-link:focus .choice-card {
  transform: translateY(-3px);
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 16px 38px rgba(0,0,0,.07);
}

.beseda-choice .choice-label {
  display: block;
  margin-bottom: 7px;
  color: #717275;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.beseda-choice .choice-card h3 {
  margin-bottom: 6px;
}

.beseda-choice .choice-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

.beseda-program-title {
  font-weight: 900;
}

.beseda-program-image {
  width: 100%;
  min-height: 560px;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}

.beseda-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 0 4px;
  margin-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.beseda-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--p-color);
  font-size: 1rem;
}

.beseda-includes {
    margin-top: 14px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff8e8;
    border: 1px solid #eadfca;
}

.flyer-link {
  margin-top: 18px;
}

/* Karusel bez indikátorů; zvládá snímky na výšku i na šířku bez ořezu. */
.beseda-gallery-carousel {
  max-width: 1050px;
  margin: 0 auto;
}

.beseda-gallery-carousel .carousel-item {
  text-align: center;
}

.beseda-gallery-carousel .carousel-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 650px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.beseda-gallery-carousel .carousel-control-prev,
.beseda-gallery-carousel .carousel-control-next {
  width: 10%;
}

.beseda-gallery-carousel .carousel-control-prev-icon,
.beseda-gallery-carousel .carousel-control-next-icon {
  width: 2.4rem;
  height: 2.4rem;
  background-color: rgba(0,0,0,.55);
  background-size: 55%;
  border-radius: 50%;
}

@media (max-width: 1199.98px) {
  .beseda-hero-badges {
    flex-wrap: wrap;
  }
}

@media (max-width: 991.98px) {
  .beseda-program-image {
    min-height: 0;
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .beseda-hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .beseda-gallery-carousel .carousel-item img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
  }
}

.beseda-anchor {
    scroll-margin-top: 82px;
}

.reference-logo {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

/* =========================================================
   AKTUALITY
   Jednotné karty. Novou aktualitu stačí přidat jako další
   <article class="news-card"> v aktuality.html.
   ========================================================= */
.news-list {
  padding: 56px 0 70px;
  background: #f8f9fa;
}

.news-card {
  max-width: 1120px;
  margin: 0 auto 24px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .035);
}

.news-card:last-child {
  margin-bottom: 0;
}

.news-card-media {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
}

.news-card-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 22px;
}

.news-card time {
  display: block;
  margin-bottom: 7px;
  color: #717275;
  font-size: .9rem;
}

.news-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 800;
}

.news-card p:last-child {
  margin-bottom: 0;
}

.news-card a {
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .news-list {
    padding: 34px 0 46px;
  }

  .news-card {
    padding: 16px;
    margin-bottom: 18px;
  }

  .news-card-media {
    height: auto;
    min-height: 0;
  }

  .news-card-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 420px;
    border-radius: 22px;
  }

  .news-card h2 {
    font-size: 1.3rem;
  }
}

/* =========================================================
   HOMEPAGE – sjednocení obrázků v půlených sekcích
   ========================================================= */
.home-section-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

/* =========================================================
   COOKIE CONSENT
   ========================================================= */
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    max-width: 820px;
    margin: 0 auto;
    padding: 12px 16px;
    background: #fff;
    color: #212529;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-consent__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-consent__text strong {
    font-size: 15px;
}

.cookie-consent__text a {
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.cookie-consent__btn {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #212529;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-consent__btn--accept {
    background: #212529;
    color: #fff;
}

.cookie-consent__btn--necessary {
    background: #fff;
    color: #212529;
}

.cookie-consent__btn:focus-visible,
.cookie-consent__text a:focus-visible {
    outline: 3px solid rgba(33, 37, 41, .35);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px;
    }

    .cookie-consent__inner {
        display: block;
    }

    .cookie-consent__text {
        font-size: 13px;
        line-height: 1.35;
    }

    .cookie-consent__text strong {
        font-size: 14px;
    }

    .cookie-consent__actions {
        margin-top: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cookie-consent__btn {
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 13px;
        white-space: normal;
    }
}

@media (max-width: 389.98px) {
    .cookie-consent__actions {
        grid-template-columns: 1fr;
    }
}

