/* Reset pro všechny elementy */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Globální styl těla */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #000000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  overflow-x: hidden;
  background: #000;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Styl pro hlavní úvodní sekci */
header.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)),
    url('/static/photos/Fotky/FandaAlan.JPG') no-repeat center center / cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

header.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

/* Textové prvky */
header h1 {
  font-size: 4.5rem;
  color: #ff4500;
  text-transform: uppercase;
  letter-spacing: 5px;
  animation: fade-in-down 1.2s ease-out;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}

header p {
  font-size: 1.8rem;
  color: #ccc;
  margin-top: 20px;
  animation: fade-in-up 1.5s ease-out;
  max-width: 80%;
  text-align: center;
}

header p.location {
  font-size: 2rem;
  font-weight: bold;
  color: #ffa500;
  animation: slide-in 1.5s ease-out;
  margin-bottom: 10px;
}

/* Styl hlavní tlačítka */
.primary-btn {
  background: linear-gradient(135deg, #ff4500, #ff6f61);
  color: #fff;
  padding: 20px 40px;
  font-size: 1.6rem;
  border: none;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(255, 87, 34, 0.6);
  animation: heartbeat 1.5s ease-in-out infinite;
  font-weight: bold;
  text-transform: uppercase;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #ff5722, #ff8a65);
  box-shadow: 0 12px 30px rgba(255, 87, 34, 0.8);
}

/* Styl sekundárních tlačítek */
.secondary-btn {
  background: linear-gradient(135deg, #6a1b9a, #ab47bc);
  color: #fff;
  padding: 12px 30px;
  font-size: 1.3rem;
  margin: 10px;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 15px rgba(106, 27, 154, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
}

.secondary-btn:hover {
  background: linear-gradient(135deg, #8e24aa, #ce93d8);
  box-shadow: 0 10px 25px rgba(106, 27, 154, 0.7);
  transform: translateY(-3px);
}

/* Přidání oddělení mezi tlačítky */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
  .primary-btn {
    font-size: 1.4rem;
    padding: 15px 30px;
  }

  .secondary-btn {
    font-size: 1.2rem;
    padding: 10px 20px;
  }

  nav {
    gap: 15px;
  }
}

/* Tlačítka */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff5722, #ff6f61);
  color: #fff;
  font-size: 1.4rem;
  padding: 18px 35px;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
  margin-top: 30px;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(255, 87, 34, 0.6);
}

/* Animace fade-in */
@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animace slide-in */
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animace "pulsující efekt" pro tlačítka */
.btn.heartbeat {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Navigační tlačítka */
nav a.btn {
  margin: 10px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #d32f2f, #e57373);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

nav a.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(211, 47, 47, 0.6);
}

/* Responzivní design */
@media (max-width: 768px) {
  header h1 {
    font-size: 3.5rem;
    letter-spacing: 4px;
    animation: fade-in-down 1s ease-out;
  }

  header p {
    font-size: 1.5rem;
    margin-top: 15px;
    animation: fade-in-up 1.2s ease-out;
  }

  header p.location {
    font-size: 2.2rem;
    animation: slide-in 1.2s ease-out;
  }

  .btn {
    font-size: 1.2rem;
    padding: 15px 25px;
  }
}

/* Ujistěte se, že header má relativní pozicování pro správné umístění šipky */
.hero {
  position: relative;
}

/* Šipka dolů */
.scroll-down {
  position: absolute;
  bottom: 20px;
  /* vzdálenost od spodního okraje headeru */
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  /* odstraní podtržení odkazu */
}

/* Nastavení SVG šipky */
.scroll-down svg {
  fill: #fff;
  /* barva šipky */
  animation: bounce 2s infinite;
  /* aplikace bounce animace */
}

/* Klíčové snímky pro bounce efekt */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------*/
.location {
  font-size: 1.5rem;
  /* Menší než hlavní nadpis */
  color: #555;
  /* Neutrální barva, aby nebyla příliš výrazná */
  margin-top: -10px;
  /* Těsně pod hlavním nadpisem */
}


/* Sekce styl */
.section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #1a1a1a, #2e2e2e);
  border-radius: 10px;
  margin: 20px auto;
  /* Zarovnání na střed */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: fade-in-up 1s ease-out;
  max-width: 1200px;
  /* Maximální šířka pro desktop */
  width: 90%;
  /* Přizpůsobí se velikosti obrazovky */
}

.section h2 {
  font-size: 3.2rem;
  color: #ff4500;
  margin-bottom: 20px;
  animation: slide-in 1.5s ease-out forwards;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff4500;
  /* Oddělení nadpisu od obsahu */
}

.section p {
  font-size: 1.4rem;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #ddd;
  animation: fade-in 2s ease-out forwards;
}

.section:hover {
  background: linear-gradient(135deg, #2e2e2e, #3a3a3a);
  /* Jemná změna barvy pozadí při hoveru */
  transition: background 0.5s;
}

.section:hover h2 {
  color: #ff0000;
  border-bottom-color: #ff0000;
  /* Změna barvy spodní linie nadpisu při hoveru */
}

/* Oddělovač mezi sekcemi */
.section+.section {
  margin-top: 40px;
  /* Větší mezera mezi sekcemi */
  padding-top: 40px;
  /* Dodatečný vnitřní odsaz pro lepší čitelnost */
  border-top: 1px solid transparent;
  /* Výchozí stav pro desktop */
}

/* Styl oddělovače pro mobilní zařízení */
@media (max-width: 768px) {
  .section+.section {
    border-top: 2px dashed #444;
    /* Oddělení sekcí jemnou čárou */
  }
}

/* =============================================================================
   SEKCE O NÁS - Základní styly
   ============================================================================= */
.onas {
  background: linear-gradient(135deg, #1a1a1a, #333333);
  /* Elegantní tmavý přechod */
  color: #fefefe;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  max-width: 1200px;
  margin: 50px auto;
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  animation: fade-in-up 1.5s ease-out forwards;
}

/* Nadpis sekce "O nás" */
.onas h2 {
  color: #ff6f61;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 3px solid #ff4500;
  padding-bottom: 10px;
  animation: slide-in 1.5s ease-out forwards;
}

/* Kontejner pro text a obrázky */
.about-us {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

/* Textový obsah */
.about-text {
  flex: 1;
  max-width: 650px;
}

.about-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 15px;
  animation: fade-in 1.5s ease-out forwards;
}

/* Kontejner pro více obrázků */
.about-images {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Obrázky v sekci */
.group-photo {
  width: 320px;
  height: auto;
  border-radius: 15px;
  border: 4px solid #ff4500;
  padding: 5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  animation: fade-in 1.5s ease-out forwards;
}

/* RESPONSIVITA - Mobilní zařízení */
@media (max-width: 768px) {
  .onas {
    padding: 30px 20px;
    gap: 20px;
    text-align: center;
    margin: 30px auto;
  }

  .onas h2 {
    font-size: 2.4rem;
  }

  .about-us {
    flex-direction: column;
    gap: 20px;
  }

  .about-images {
    flex-direction: column;
    gap: 15px;
  }

  .group-photo {
    width: 90%;
    max-width: 400px;
  }

  .about-text {
    text-align: center;
    padding: 0 15px;
  }

  .about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
  }
}

/* ANIMACE */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Carousel styl */
.photo-carousel {
  position: relative;
  max-width: 800px;
  height: 500px;
  margin: 20px auto;
  overflow: hidden;
  border: 5px solid #e63946;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

button.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 5px;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

/* Trenér sekce */
.trainer-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trainer {
  background-color: #2e2e2e;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trainer:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.trainer img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.trainer h3 {
  color: #ff4500;
  margin: 10px 0;
}

.trainer p {
  color: #ccc;
  font-size: 1rem;
}

.trainer-rank {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.belt {
  position: relative;
  width: 100px;
  height: 20px;
  background-color: black;
  border-radius: 3px;
  overflow: hidden;
}

.belt::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 20%;
  width: 10px;
  height: 14px;
  background-color: gold;
  border-radius: 2px;
}

.belt.belt2::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  width: 10px;
  height: 14px;
  background-color: gold;
  border-radius: 2px;
}


/* Kalendář tréninků */
.calendar-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #2e2e2e;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.calendar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.day {
  background-color: #1c1c1c;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.day h3 {
  font-size: 1.5rem;
  color: #ff4500;
  margin-bottom: 10px;
}

.day p {
  font-size: 1.1rem;
  color: #ddd;
}

/* Responsivita kalendáře */
@media (max-width: 768px) {
  .calendar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  nav a {
    font-size: 1rem;
  }
}



.history-frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2e2e2e;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.history-image {
  width: 40%;
  max-width: 400px;
  border-radius: 15px;
  margin-right: 20px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.history-content {
  color: #ddd;
  font-size: 1.2rem;
  line-height: 1.8;
  flex: 1;
}

.history-content p {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .history-frame {
    flex-direction: column;
    text-align: center;
  }

  .history-image {
    margin-bottom: 20px;
    margin-right: 0;
    width: 80%;
  }
}

/* Sekce Kontakt */
.kontakty {
  background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
  color: #ffffff;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  max-width: 1200px;
  margin: 30px auto;
  font-family: 'Arial', sans-serif;
  animation: fade-in-up 1.5s ease-out forwards;
}

.kontakty h2 {
  text-align: center;
  color: #e63946;
  font-size: 2.4rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #e63946;
  padding-bottom: 10px;
  animation: slide-in 2s ease-out forwards;
}

.kontaktni-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  animation: fade-in 2s ease-out forwards;
}

.kontaktni-info {
  flex: 1 1 100%;
  font-size: 1.4rem;
  line-height: 1.8;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.kontaktni-info a {
  color: #e63946;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.kontaktni-info a:hover {
  text-decoration: underline;
  color: #ff4c4c;
}

.mapa {
  flex: 1 1 100%;
  max-width: 100%;
  border: 2px solid #e63946;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.mapa iframe {
  border: none;
  width: 100%;
  height: 250px;
  transition: transform 0.3s ease;
}

.mapa iframe:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .kontakty {
    padding: 30px 15px;
  }

  .kontaktni-box {
    flex-direction: column;
    gap: 15px;
  }

  .kontaktni-info {
    font-size: 1.2rem;
    padding: 10px;
  }

  .mapa {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .kontakty h2 {
    font-size: 2rem;
  }

  .kontaktni-info {
    font-size: 1rem;
  }

  .mapa {
    height: 180px;
  }
}

/* Jan Hruška */
/* Footer sekce */
.footer {
  background: linear-gradient(to right, #1a1a1a, #2e2e2e);
  /* Elegantní tmavý přechod */
  color: #ddd;
  text-align: center;
  padding: 30px 15px;
  font-family: 'Poppins', Arial, sans-serif;
  width: 100%;
  position: relative;
  bottom: 0;
  box-shadow: 0 -4px 8px rgba(255, 0, 0, 0.2);
  /* Jemný červený stín */
}

/* Text v patičce */
.footer p {
  margin: 10px 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Developer sekce */
.developer-name a {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  color: #ff3b3b;
  /* Sytě červená */
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

/* Zvýraznění při najetí */
.developer-name a:hover {
  color: #ff6666;
  /* Světlejší červená při najetí */
  transform: scale(1.07);
  /* Mírné zvětšení */
}

/* Instagram ikona */
.developer-name i {
  margin-left: 8px;
  font-size: 1.5rem;
  color: #ff3b3b;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Instagram ikonka se otáčí při najetí */
.developer-name a:hover i {
  color: #ff6666;
  transform: rotate(15deg);
}

/* Responzivita */
@media (max-width: 768px) {
  .footer {
    padding: 20px 10px;
  }

  .footer p {
    font-size: 1rem;
  }

  .developer-name a {
    font-size: 1.2rem;
  }

  .developer-name i {
    font-size: 1.4rem;
  }
}


/* ------------------------------------------------------
   NOVINKY A ÚSPĚCHY
------------------------------------------------------ */
.news-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
}

/* Grid layout pro novinky na desktopu */
#more-news {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Aktivní třída pro rozbalení novinek */
#more-news.active {
  display: grid;
  opacity: 1;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Každá novinka */
.news-item {
  background: #1a1a1a;
  color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
  max-width: 900px;
  width: 100%;
  text-align: left;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 6px solid #ff3b3b;
}

/* Hover efekt pro novinky */
.news-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.5);
}

/* Větší fotky s jemným zaoblením */
.news-item img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

/* Text v novince */
.news-text {
  padding: 15px;
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
}

/* Nadpis novinky */
.news-text h3 {
  font-size: 1.8rem;
  color: #ff3b3b;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}

/* Odstavce textu */
.news-text p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 10px;
}

/* Zvýraznění důležitých informací */
.news-text strong {
  color: #ff5252;
}

/* ------------------------------------------------------
     TLAČÍTKO "ZOBRAZIT VÍCE"
------------------------------------------------------ */
.show-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 30px auto;
  position: relative;
}

#show-more-btn {
  background: #ff3b3b;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
}

/* Ikona pro lepší vizuální indikaci */
#show-more-btn::after {
  content: "▼";
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

/* Změna šipky při otevření */
#show-more-btn.active::after {
  transform: rotate(180deg);
}

/* Hover efekt */
#show-more-btn:hover {
  background: #ff6666;
  transform: translateY(-2px);
}

/* RESPONSIVITA - Mobilní zařízení */
@media (max-width: 768px) {
  .show-more-container {
    padding: 10px;
    margin-top: 20px;
  }

  #show-more-btn {
    width: 90%;
    font-size: 1rem;
    padding: 12px 20px;
    justify-content: center;
  }
}

/* Další responsivita pro velmi malé obrazovky */
@media (max-width: 480px) {
  #show-more-btn {
    font-size: 0.95rem;
    padding: 10px 18px;
    width: 100%;
  }
}

/* ------------------------------------------------------
     RESPONSIVITA - MOBILNÍ ZAŘÍZENÍ
------------------------------------------------------ */
@media (max-width: 768px) {

  /* Novinky se zobrazí pod sebou místo vedle sebe */
  #more-news.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .news-container {
    padding: 10px;
  }

  .news-item {
    max-width: 100%;
    padding: 12px;
    border-left: 4px solid #ff3b3b;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
  }

  .news-item img {
    max-height: 300px;
    /* Menší obrázky pro mobilní zařízení */
  }

  .news-text {
    padding: 10px;
  }

  .news-text h3 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .news-text p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Další responsivita pro velmi malé obrazovky */
@media (max-width: 480px) {
  .news-text h3 {
    font-size: 1.4rem;
  }

  .news-text p {
    font-size: 0.95rem;
  }
}

/* VIDEO */
.news-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  /* omezí příliš velké video na desktopu */
  margin: 0 auto 1rem;
  /* centrování a odsazení pod videem */
  border: 3px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  /* nový CSS-vlastnost pro udržení poměru stran */
}

.news-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* vyplní celý wrapper */
  object-fit: cover;
  /* video vycentruje a ořízne přesah, zachová poměr stran */
  display: block;
}

.sound-toggle-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}