/* ===========================
   ZÁKLADNÍ NASTAVENÍ
   =========================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', 'Roboto', sans-serif;
  background-color: #f8f9fa;
  color: #343a40;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto;
}
/* Odkazy */
a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===========================
   OBSAH STRÁNEK A ČLÁNKŮ
   =========================== */
.article-content,
.page-content {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.8;
}

/* Text uvnitř boxu */
.article-content p,
.page-content p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Obrázky uvnitř obsahu */
.page-content img,
.article-content img {
  max-width: 100%;
  height: auto;
}

/* Mobilní úpravy obsahu */
@media (max-width: 576px) {
  .article-content,
  .page-content {
    padding: 0.7rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 0;
  }

  .article-content p,
  .page-content p {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* ===========================
   KARTY NOVINEK
   =========================== */
.card-article {
  border: none;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.card-article:hover {
  transform: translateY(-4px);
}

/* ===========================
   ROZCESTNÍK SEKCE
   =========================== */
.rozcestnik-box {
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.rozcestnik-box:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}
.rozcestnik-icon {
  background-color: rgba(230, 115, 0, 0.1);
  border-radius: 50%;
  padding: 15px;
  color: #e67300;
  transition: all 0.3s ease;
}
.rozcestnik-box:hover .rozcestnik-icon {
  background-color: rgba(230, 115, 0, 0.25);
  transform: scale(1.1);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  font-size: 0.8rem;
  flex-shrink: 0;
  font-weight: 300; 
}

/* ===========================
   OBRÁZKY, VIDEA A TABULKY
   =========================== */
img, iframe, table {
  max-width: 100%;
  height: auto;
}

/* ===========================
   LOGO
   =========================== */
/* Výchozí styl – desktop */
.logo {
  height: 120px;
  width: auto;
}

.logo-desktop {
  display: inline;
}

.logo-mobile {
  display: none;
}

/* ✅ Na mobilech (max 768px) se přepne */
@media (max-width: 768px) {
  .logo {
    height: 60px; /* menší výška pro mobil */
     margin-bottom: 0.5rem;
  }

  .logo-desktop {
    display: none; /* skryje desktop logo */
  }

  .logo-mobile {
    display: inline; /* zobrazí mobilní logo */
  }
}
