body {
      font-family: Georgia, serif;
      margin: 0;
      min-height: 100vh;
      background-color: #e6d9c6;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 6rem;
      padding-left: 1rem;
      padding-right: 1rem;
      position: relative;
      overflow-x: hidden;
    }

    
    header.nazevKostela {
      text-align: center;
      margin-bottom: 2rem;
      color: #2a2317;
      position: relative;
      z-index: 10;
    }
    header.nazevKostela::before {
      content: "";
      position: absolute;
      top: -80px;
      left: 50%;
      transform: translateX(-50%);
      width: 900px;
      height: 150px;
      background: radial-gradient(ellipse at center, rgba(255 255 224 / 0.6) 0%, transparent 80%);
      filter: blur(60px);
      pointer-events: none;
      z-index: -1;
    }

    main.hlavni {
      max-width: 900px;
      width: 100%;
      background: white;
      border: 12px solid white; 
      box-shadow:
        0 0 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    nav.navigace {
      background: linear-gradient(90deg, #4a5a20, #6a7a30);
      color: white;
      font-size: 0.875rem;
      font-weight: 400;
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      padding: 0.75rem 0;
      user-select: none;
      border: 1px solid black;
    }

    main.hlavni {
    border: 12px solid white; 
    box-shadow: 0 0 0 1px #b89f6a;
    box-sizing: border-box;
    }

    nav.navigace a {
      color: white;
      text-decoration: none;
    }

    nav.navigace a:hover {
      text-decoration: underline;
    }

    nav.navigace span {
      color: #8a8a8a;
    }

    section.heroSekce {
      position: relative;
      height: 250px;
      max-width: 900px;
      margin: 0 auto;
      padding-top: 12px;
    }

    section.heroSekce img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
    }

    div.infoBox {
      position: absolute;
      top: 4rem;
      right: 0; 
      max-width: 20rem;
      font-family: Georgia, serif;
      background-color: #2e2415;
      color: white;
      box-shadow: 0 0 10px rgb(0 0 0 / 0.5);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    div.infoBox > div:first-child {
      padding: 1rem 1.5rem;
      border-bottom: 1px solid #5a6a2a;
    }

    div.infoBox h2 {
      font-size: 1.125rem;
      font-weight: 400;
      margin-bottom: 0.25rem;
    }

    div.infoBox p {
      font-size: 0.75rem;
      font-weight: 300;
      margin: 0;
      color: #b89f6a;
      padding-left: 35px;
    }

    div.infoBox .odkaz {
      background-color: #5a6a2a;
      padding: 0.5rem 1.5rem;
      font-size: 0.75rem;
      font-weight: 300;
      cursor: pointer;
      user-select: none;
      transition: text-decoration 0.2s ease;
      padding-left: 56px;
    }

    div.infoBox .odkaz:hover {
      text-decoration: underline;
    }

    section.obsahSekce {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      padding: 1.5rem;
      color: #2a2317;
      font-size: 0.875rem;
    }

    @media (min-width: 768px) {
      section.obsahSekce {
        flex-direction: row;
      }
    }

    article.clanek {
      flex: 1 1 0;
    }

    article.clanek h3 {
      border-bottom: 1px solid #d6b68a;
      font-weight: 400;
      margin-bottom: 0.75rem;
    }

    article.clanek p {
      margin-bottom: 0.75rem;
    }

    article.clanek strong {
      font-weight: 700;
    }

    button.tlacitko {
      background: linear-gradient(90deg, #4a5a20, #6a7a30);
      color: white;
      font-size: 0.75rem;
      padding: 0.25rem 1rem;
      border-radius: 0.125rem;
      border: none;
      cursor: pointer;
      transition: background-color 0.2s ease;
      border: 1px solid black;
    }

    button.tlacitko:hover {
      background-color: #4a5a20;
    }

    ul.seznam {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    ul.seznam li {
      margin-bottom: 0.75rem;
      display: flex;
      gap: 0.75rem;
      align-items: flex-start;
    }

    ul.seznam li span.datum {
      color: #b89f6a;
      min-width: 60px;
      flex-shrink: 0;
      font-weight: 400;
    }

    ul.seznam li a {
      color: #5a6a2a;
      font-size: 0.75rem;
      text-decoration: none;
    }

    ul.seznam li a:hover {
      text-decoration: underline;
    }

    ul.navsteva {
      color: #5a6a2a;
      font-size: 0.75rem;
      flex-direction: column;
      align-items: flex-start;
      padding-left: 0;
      list-style: none;
    }

    ul.navsteva li {
      margin-bottom: 0.75rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.25rem;
    }

    ul.navsteva li .radek {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      width: 100%;
    }

    ul.navsteva li strong {
      color: #2a2317;
      font-weight: 700;
      flex-shrink: 0;
    }

    ul.navsteva li i {
      color: #5a6a2a;
      min-width: 16px;
      text-align: center;
      flex-shrink: 0;
    }

    footer.pata {
      text-align: center;
      font-size: 0.75rem;
      color: #b89f6a;
      margin-top: 2rem;
      user-select: none;
    }    




@media (max-width: 1023px) {

  section.obsahSekce {
    flex-direction: column !important;
    align-items: center;
    padding: 1rem;
  }
  article.clanek {
    width: 100% !important;
    max-width: 600px;
    margin-bottom: 1.5rem;
  }

  
  nav.navigace {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  nav.navigace a,
  nav.navigace span {
    flex: 1 1 100%;
    text-align: center;
  }

 
  section.heroSekce {
    position: relative;
    height: 250px; 
    overflow: hidden;
  }
  section.heroSekce img {
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 900px; 
    height: auto;
    max-width: none;
  }

  
  div.infoBox {
    position: absolute !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 20rem !important;
    background-color: rgba(46, 36, 21, 0.85);
    padding: 1rem;
    box-shadow: 0 0 15px rgb(0 0 0 / 0.7);
    border-radius: 0.25rem;
    font-family: Georgia, serif;
    text-align: center;
    justify-content: center;
  }



  ul.navsteva li {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }
  ul.navsteva li .radek {
    width: 100% !important;
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  div.infoBox .odkaz {
    padding-left: 30px !important;
    text-align: center !important;
  }

  div.infoBox p {
    padding-right: 30px;
  }

}