html{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body{
  margin: 0;
  font-family: "Exo", sans-serif;

}
/*
SCHWAZ
*/
.tournament-schedule-container {
  width: 100%;
  max-width: 850px;
  margin: 20px auto;
  background: rgba(20, 20, 20, 0.95);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.15);
  font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */
.tournament-schedule-header {
  background: linear-gradient(90deg, #ff1414, #c90000);
  text-align: center;
  padding: 20px 16px;
}

.tournament-schedule-logo {
  width: 260px;
  max-width: 90%;
  background: white;
  padding: 8px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.tournament-schedule-title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  line-height: 1.1;
}

.tournament-schedule-subtitle {
  margin-top: 4px;
  font-size: 0.95rem;
  opacity: 0.95;
  color: white;
}

/* MATCHES */
.tournament-schedule-matches {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tournament-schedule-card {
  background: linear-gradient(145deg, #181818, #242424);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: .2s ease;
}

.tournament-schedule-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: #ff1d1d;
}

.tournament-schedule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,0,0,0.15);
}

.tournament-schedule-time {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ff3030;
  text-align: center;
  margin-bottom: 6px;
}

.tournament-schedule-players {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
  color: white;
}

.tournament-schedule-vs {
  color: #888;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 4px 0;
}

/* FOOTER */
.tournament-schedule-footer {
  background: #101010;
  text-align: center;
  padding: 12px;
  color: #bdbdbd;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* MOBILE */
@media (max-width: 768px) {
  .tournament-schedule-container {
    max-width: 95%;
    margin: 15px auto;
  }

  .tournament-schedule-logo {
    width: 210px;
  }

  .tournament-schedule-title {
    font-size: 1.7rem;
  }

  .tournament-schedule-subtitle {
    font-size: 0.9rem;
  }

  .tournament-schedule-time {
    font-size: 1.5rem;
  }

  .tournament-schedule-players {
    font-size: 1rem;
  }

  .tournament-schedule-matches {
    padding: 16px;
    gap: 10px;
  }

  .tournament-schedule-card {
    padding: 14px;
  }
}
/*----*/

/* Odstráni modrý overlay / tap highlight na mobiloch */
body {
  -webkit-tap-highlight-color: transparent; /* iOS / Chrome */
}

/*
LOGIN PAGE
*/

h2 {
    color: #004a99;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-form{
    background-color: #fff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 320px;
    margin: 0 auto;
}

#login-input{
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #0073e6;
    outline: none;
}

input[type="submit"] {
    width: 100%;
    background-color: #0073e6;
    color: white;
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

input[type="submit"]:hover {
    background-color: #005bb5;
}

::placeholder {
    color: #888;
}



.admin-container{
  display: flex;
  justify-content: flex-end;
  margin-right: 10px;
}
.admin-links{
  display: flex;
  color: #0a7ec2;
  padding: 10px;
  text-decoration: underline;
}
.admin-links:hover{
  color: #003366;
}

.main-nav li a, .sub-menu li a {
  -webkit-tap-highlight-color: transparent;
}


/*ICON CAROUSEL*/
.carousel-body{
    display: flex;
    justify-content: center;
    width: 75%;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #000;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    overflow-x: hidden;
    max-width: 1300px;
    margin: 0 auto;
    max-height: 150px;/*change if trouble*/
    overflow-y: hidden;
}
.carousel-underline{
border-bottom: 1px solid #cccccc;
width: 80%;
margin: 10px auto;
}
.carousel-container {
  width: 100%;
  max-width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.2s ease; /*default 0.1s*/
  min-width: 100%;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 20%; /* 100% / 6 ikon = 16.66% */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 5px;
  padding-left: 5px;
  box-sizing: border-box;
}
.carousel-slide img{
  width: 180px;
}
.carousel-title{
  text-align: center;
  color: #706e6e;
}
.title-box{
  height: 120px;
  background: #0a7ec2;
  display: flex;
  justify-content:space-between;
  box-shadow: 2px 2px 10px #7c7c7c;
}
.title-box img{
 
 height: 100%;
}
.title-header{
  font-weight: bold;
  color: #efefef;
  text-align: center;
  height: 100%;
  margin-top: 1em;
  
}

/* Hamburger button */
.hamburger {
  width: 40px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 3;
  top: 32%;
  margin-right: 15px;
}

.hamburger span {
  background: #efefef;
  position: absolute;
  height: 4px;
  width: 100%;
  left: 0;
  transition: all 0.4s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 9px;
}
.hamburger span:nth-child(3) {
  top: 18px;
}

/* Active state = X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)),
              url("../images/background_navigation.jpeg") center/cover no-repeat;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  z-index: 2;
}

nav.active {
  transform: translateY(0);
}


/* Flex rozdelenie na dve časti */
.nav-container {
  display: flex;
  width:70%; /*55percent*/
  margin: 0 auto;
  justify-content: flex-start; /* Desktop: ľavá strana */
  align-items: center;
  margin-top: 4em;
}

/* Ľavá hlavná navigácia */
.main-nav {
  list-style: none;
  padding: 50px;
  margin: 0;
  border-right: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-nav li {
  margin: 10px 0;
  width: 100%;
}

.main-nav li a {
  text-decoration: none;
  font-weight: 900;
  font-size: 2em;
  color: white;
  transition: color 0.3s;
}
.main-nav li:after {
    display      : block;
    content      : '';
    border-bottom: solid 5px #0a7ec2;
    transform    : scaleX(0);
    transition   : transform 300ms ease-in-out;
}

.main-nav li:hover:after {
    transform: scaleX(1);
}

.main-nav li:after {
    transform-origin: 0 50%;
}
/* Pravá subnavigácia */
.sub-nav {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sub-menu {
  display: none;
  list-style: none;
  padding-left: 20px;
  margin: 0;
}
.sub-menu { display: none; }
.sub-menu.active { display: block; }



.sub-menu.active {
  display: block;
}

.sub-menu li {
  margin: 15px 0;
}

.sub-menu li a {
  text-decoration: none;
  font-size: 1.5em;
  font-weight: bold;
  color: #efefef;
  transition: color 0.3s;
}
.sub-menu li a:hover{
  color: #0a7ec2;
}
/*PCOVINA*/
.back-btn {
  background: none;       /* žiadne pozadie */
  border: none;           /* žiadny rámik */
  padding: 0;             /* žiadny vnútorný okraj */
  margin-bottom: 1rem;    /* medzera pod textom */
  font-size: 1rem;        /* veľkosť textu */
  color: #fcfcfc;            /* farba textu */
  cursor: pointer;        /* kurzor ako pri linku */
  display: flex;          /* ikona + text vedľa seba */
  align-items: center;    /* vertikálne vycentrovanie */
  gap: 0.5rem;            /* medzera medzi ikonou a textom */
}

.back-btn i {
  font-size: 1rem;        /* veľkosť ikony rovnaká ako text */
}

.back-btn:hover {
  color: #000;            /* tmavšia farba pri hover */
  text-decoration: underline; /* podčiarknutie ako odkaz */
}


.simple-news {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    
    max-width: 900px;
    margin: 1.5em auto;
    padding: 12px 18px;

    background: linear-gradient(90deg, #1e88e5, #42a5f5);
    color: #fff;

    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    font-weight: 500;
    
}


.simple-news .news-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.simple-news .news-icon {
    font-size: 20px;
}

.simple-news .news-text {
    font-size: 16px;
}

.simple-news .news-btn {
    background: #fff;
    color: #1e88e5;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.simple-news .news-btn:hover {
    background: #f1f1f1;
}

.simple-news .close-btn {
    margin-left: 10px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.8;
}

.simple-news .close-btn:hover {
    opacity: 1;
}
.simple-news {
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*NOVINKY*/ 
.grid-container {
    display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 1.5em;
    width: 90vw; /* Set max width to control the container size */
    padding: 2em;
    background-color: white;
    border-radius: 0.5em;
    max-width: 1800px;
}
.news{
    width: 80%;
    margin: 0 auto;
    color: #0a7ec2;
    font-size: 1em;
    font-weight: bolder;
}
.news h1{
    margin-bottom: 0.1em;
}
.box {
    display: flex;
    flex-direction: column;
    background-color:#fcfcfc;
    color: #000;
    font-size: 1.2em;
    border-radius: 5%;
    padding: 1.2em;
    padding-bottom: 1em;
    padding-top: 0.5em;
    text-align:start;
    box-shadow: 0.2em 0.2em 0.5em rgba(0,0,0,0.2);
    height: 32em;
}
.box h2{
    text-align: start;
    margin-bottom: 0.2em;
    color:#0a7ec2;
    font-weight: bold;
}
.box img {
    width: 100%;
    margin: 0 auto;
    border-radius: 5%;
}
.box p {
    margin: 0;
    line-height: 1.25;
      word-wrap: break-word;
}
.box-prelink{
    text-decoration: none;
}
.thumbnail{
    height: 50%;
    border-radius: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.thumbnail img{
   height: 100%; /*keby robi problemy zmen max-height*/
   transition: transform 0.5s ease;
   object-fit: cover;
}


.box-datetime{
  display: flex;
  justify-content:end;
  font-size: 0.7em;
  color:#706e6e;
  margin-top: auto;
}
.fa-square-plus {
    font-size: 10em;
    text-decoration: none;
    color: #158AE1;
    justify-content: center;
    margin-top: 0.2em;
}
.add-item-icon i{
    display: flex;
    justify-content: center;
    text-decoration: none;
    border: none;
    overflow: hidden;
}
.add-item-icon a{
    text-decoration: none;
}
#add-form{
   width: 80vw;
   margin: 0 auto;
   display: block;
   font-size: 1.2em;
}
#text,.submit-btn, #add-form input, #add-form span, .category{
    padding: 1em;
    width: 50%;
    display: block;
    margin: 0 auto;
    font-size: 0.8em;
}
#add-form span{
    font-size: 1.3em;
}
#text{
    margin-top: 1.5em ;
    font-size: 1em;
}
.submit-btn{
    border-radius: 0.25em;
    background-color: #158AE1;
    color: #efefef;
    font-weight: 500;
    border: 1.5em #44A1E7;
    cursor: pointer;
    margin-top: 1em;
}
#edit-btn, #delete-btn{
    width: 25%;
    padding: 1.2em;
    font-size: 1.1em;
}
.form-header{
    text-align: center;
}
.article-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  text-align: center;
}

.article-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  color: #000;
  margin-bottom: 30px;
}

.article-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.article-image {
  max-width: 100%;
  height: auto;
  max-height: 850px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.select-filter-wrap {
    display: flex;           /* hlavný flex container */
    gap: 10px;               /* medzera medzi filterom a search barom */
    align-items: center;     /* vertikálne vyrovnanie */
    margin-bottom: 20px;     /* priestor pod sekciou */
    width: 80%;
    margin: 0 auto;
}


.filter select {
    height: 35px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 0 10px;
    font-size: 14px;
    cursor: pointer;
}

.filter button {
    height: 35px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #f0f0f0;
    cursor: pointer;
    margin-left: 5px;
    padding: 0 10px;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-wrapper input {
    width: 75%;
    height: 35px;
    padding-left: 35px;   /* miesto pre lupu */
    padding-right: 20px;  /* miesto pre krížik */
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.search-wrapper .search-icon {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #888;
    padding: 0;
    margin: 0;
}

.search-wrapper .clear-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #888;
    user-select: none;
     display: inline-block;
     border: none;
     background-color: #fff;
}
.logout-btn {
  position: fixed;        /* aby sa nehýbal pri scrollovaní */
  bottom: 20px;           /* vzdialenosť od spodku */
  right: 20px;            /* vzdialenosť od pravého okraja */
  
  display: inline-block;
  padding: 10px 20px;
  background-color: #e63946; /* červená farba */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.logout-btn:hover {
  background-color: #d62828; /* tmavšia červená na hover */
}
/*STRANKOVANIE*/
.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  background: #158AE1;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

.pagination a.active {
  background: #0d5ca6;
  font-weight: bold;
}

.pagination a:hover {
  background: #0f6edb;
}
/*KONTAKT*/
.info-container{
    width: 90vw;
    margin: 0 auto;
    background-color: #fcfcfc;
    padding: 0.5em;
    margin-top: 1em;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex: 0 0 50%;
}
.info-panel{
    width: 45%;
    padding: 1.5em;
}
.map-panel{
   width: 45%;
    padding: 1.5em;
}
.info-panel h1{
 margin-bottom: 0.1em;
}
.info-panel li{
    list-style: none;
    font-size: 1.2em;
    margin-top: 0.4em;
}
.info-panel p{
    font-size: 1.3em;
}
.info-panel ul{
  padding-bottom: 1em;
  padding-left: 0;
  width: 60%;
  border-bottom: 2px solid #0a7ec2;
}
/*
FOTOGALERIA
*/

/* === ALBUMY === */
.album-wrap{
  background-color: #fcfcfc;
}
.albums {
  display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 1.5em;
    width: 80vw; /* Set max width to control the container size */
    padding: 2em;
}

.album {
    position: relative; /* pridáme toto */
    display: flex;
    flex-direction: column;
    background-color: #fcfcfc;
    color: #000;
    font-size: 1.2em;
    border-radius: 5%;
    text-align: start;
    box-shadow: 0.2em 0.2em 0.5em rgba(0,0,0,0.2);
    overflow: hidden;
    
}
.album img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.album::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    transition: background 0.3s;
    z-index: 0;
}
.album:hover img {
  transform: scale(1.05);
}
.album-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 1em;
  color: #fff;
  font-weight: bold;
  z-index: 1;
  font-size: 2em;
  padding-bottom: 0.3em;
  width: 80%;
  border-bottom: 4px solid #fff;
  transition: 0.5s ease;
}
.album:hover .album-info{
  color: #0a7ec2;
  border-bottom: 4px solid #0a7ec2;
}

/* === DETAIL ALBUMU === */
.album-meta {
  margin-bottom: 20px;
  color: #555;
  text-align: center;
}
.fa-images{
  margin-left: 1.5em;
}
.album-title{
  font-weight: 900;
  font-size: 2em;
  text-align: center;
}
.photos {
  display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 1.5em;
    width: 80vw; /* Set max width to control the container size */
    padding: 2em;
    background-color: #fcfcfc;
}
.photos img {
  width: 100%;
  height: 300px; /* pevná výška pre všetky obrázky */
  object-fit: cover; /* zachová pomer strán a vyplní rámik */
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
  border-radius: 5%;
}
.photos img:hover {
  transform: scale(1.05);
}
/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}
.lightbox.active {
  display: flex;
}
.close, .prev, .next {
  position: absolute;
  font-size: 3rem;
  color: #0a7ec2;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 1px 2px solid #000;
}
.close {
  top: 20px;
  right: 20px;
}
.prev, .next {
  top: 50%;
  transform: translateY(-50%);
}
.prev { left: 20px; }
.next { right: 20px; }

.ofc-docu-wrap{
  margin: 0 auto;
  width: 50vw;
}
.org-skoz,.other,.rules,.must-have-docu{
  width: 100%;
  color: #0a7ec2;
}
.org-skoz a,.other a,.rules a,.must-have-docu a{
  color: #0a7ec2;
  transition: 0.3 ease;
}
#MBA26{
  padding: 1em;
  font-size: 1.5em;
  font-weight: 700;
}
.ofc-docu-wrap li{
  list-style: none;
  border: 1px solid #ccc;
  border-bottom: 0px;
  padding: 1em;
  background-color: #fcfcfc;
  transition: 0.3s ease;
}
.ofc-docu-wrap li:hover{
  background-color: #ccc;
  color: #5ba7d3;
}
.ofc-docu-wrap a:hover{
  color: #5ba7d3;
}
.ofc-docu-wrap a{
  text-decoration: none;
}
.org-skoz li:last-child, .other li:last-child,.rules li:last-child,.must-have-docu li:last-child{
  border-bottom: 1px solid #ccc;
}
.fa-file-pdf,.fa-file-excel{
  padding-right: 0.5em;
}
.ofc-docu-wrap h1{
  text-align: center;
  margin-bottom: 0;
  background-color: #0a7ec2;
  padding: 0.7em;
  color: #fcfcfc;
}
.ofc-docu-wrap ul{
  margin-top: 0;
  padding-left: 0;
  margin-bottom: 2em;
}

.vv-title {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 30px;
      color: #002855;
    }

.vv-title2 {
      font-size: 1.4rem;
      color: #004080;
      margin: 20px 0 10px;
    }

    .container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: auto;
    }

    .card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      padding: 20px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

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

    .role {
      font-weight: bold;
      font-size: 1.1rem;
      margin-bottom: 6px;
      color: #00509e;
    }

    .name {
      font-size: 1rem;
      margin-bottom: 5px;
    }

    .email a {
      color: #0077cc;
      text-decoration: none;
    }

    .email a:hover {
      text-decoration: underline;
    }

    /* Accordion sections */
    details {
      width: 60vw;
      margin: 0 auto;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
      margin-top: 1em;
      padding: 15px;
      transition: all 0.3s ease;
    }

    details[open] {
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    }

    summary {
      font-weight: bold;
      font-size: 1.1rem;
      color: #003366;
      cursor: pointer;
      outline: none;
    }

    summary:hover {
      color: #0077cc;
    }

    summary ul {
      padding-left: 20px;
      margin-top: 10px;
      list-style: none;
    }

    summary li a {
      margin-bottom: 8px;
    }
    .summary-list{
      list-style: none;
    }
    .summary-list li{
      padding-top: 0.4em;
    }

    /* Animácia rozbaľovania */
    details[open] ul {
      animation: fadeIn 0.4s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }
.section-wrap{
width: 60vw;
margin: 0 auto;
}
.section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.section h1 {
  text-align: center;
  color: #002855;
  margin-bottom: 30px;
}
.section:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.section h2 {
  color: #004080;
  font-size: 1.3rem;
  margin-bottom: 15px;
  border-left: 5px solid #004080;
  padding-left: 10px;
}

.section ul {
  list-style-type: none;
  padding: 0;
}

.section ul li {
  margin: 8px 0;
  font-size: 0.95rem;
}

.section a {
  color: #0077cc;
  text-decoration: none;
}

.section a:hover {
  text-decoration: underline;
}


/* ======= HEADER ======= */
.header-wrapper {
  text-align: center;
  padding: 2rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.header-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1rem;
}

.header-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: #555;
}

.header-description p {
  margin-bottom: 0.8rem;
}

.link-contact {
  font-weight: bold;
  color: #0056b3;
}

/* ======= MAIN CONTENT ======= */
.main-wrapper {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Section titles */
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ======= LOGO GRID ======= */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
}

.logo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.logo-card:hover {
  transform: translateY(-5px);
}

.logo-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.8rem;
}

.logo-text {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

/* ======= DOWNLOADS ======= */
.downloads-section {
  margin-top: 3rem;
  text-align: center;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.download-list li {
  margin-bottom: 0.8rem;
}

.download-link {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #0056b3;
  color: #fff;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.download-link:hover {
  background: #003d80;
}

/* ======= FOOTER ======= */
.site-footer {
  text-align: center;
  padding: 1rem;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  margin-top: 3rem;
}

.footer-text {
  color: #777;
  font-size: 0.9rem;
}


.links-wrapper {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* ======= SECTIONS ======= */
.links-section {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.title-line {
  flex: 1;
  height: 1px;
  background: #ddd;
  max-width: 100px;
}

/* ======= GRID ======= */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.link-grid li a {
  display: block;
  background: #f2f6fc;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.link-grid li a:hover {
  background: #0056b3;
  color: #fff;
  transform: translateY(-2px);
}
a{
  text-decoration: none;
}

/*
SPRAVODAJ
*/

.pdf-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pdf-link {
  text-decoration: none;
}

.pdf-card {
  background: #f0f0f0;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  font-weight: bold;
  color: #0a7ec2;
}

.pdf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.pdf-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.pdf-name {
  font-size: 1rem;
  word-wrap: break-word;
}
.vysledky-title{
  text-align: center;
}
.main-partner{
  display: block;
    width:350px !important;
    margin: 0 auto;
    border: 1px solid #dad6d6;
    font-size: 1.5em;
    text-align: center;
    padding: 0.5em;
    color: #777;
}
.main-partner>img{
    width: 100%;
    display: block;
    margin-bottom: 0.2em;

}
/* ====== Accordion štýly ====== */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background: #fff;
  transition: box-shadow 0.3s ease;
  width: 60%;
  margin: 0 auto;
  margin-bottom: 0.5em;
}

.accordion-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* Header */
.accordion-header {
  background: linear-gradient(135deg, #0a7ec2, #053f61);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.accordion-header::after {
  content: "▼";
  position: absolute;
  right: 20px;
  transition: transform 0.3s;
}

.accordion-header.active::after {
  transform: rotate(-180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fafafa;
  padding: 0 15px;
}

/* Links grid */
.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 0;
}

.link-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #0078d4;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}



/* 
MEDIA QUERY
*/

@media (max-width: 1560px){
    .thumbnail img{
        height: 85%;
        width: 100%;
    }
    .box h2{
        margin-top: 0em;
    }
    .box{
        padding-bottom: 0em;
        font-size: 1em;
        height: 30em;
    }
    
}
@media (max-width: 1440px){
   
}
@media (max-width: 1360px){
   .albums{
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
  }
}
@media (max-width: 1280px){
    .info-container{
      flex-direction: column;
      margin: 0 auto;
    }
    .info-panel{
      width: 100%;
      padding: 0;
      text-align: center;
    }
    .info-panel ul{
      width: 100%;
    }
    .map-panel{
      width: 100%;
      margin: 0 auto;
      padding: 0;
    }
    iframe{
      width: 100%;
    
    }
}
@media (max-width: 1190px){
    .box p{
        font-size: 0.9em;
    }
    .grid-container{
        gap: 0.5em;
    }
}
@media (max-width: 1050px){
    .grid-container{
        grid-template-columns: repeat(2,1fr);
        gap: 1.5em;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
    .photos{
      grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 960px){
    
}
@media (max-width: 900px){
}
@media (max-width: 768px){
    .grid-container{
        width: 60vw;
        grid-template-columns: repeat(1, 1fr);
    }
      .vv-title {
        font-size: 1.6rem;
      }

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

      .card {
        padding: 15px;
      }

      summary {
        font-size: 1rem;
      }
      .header-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .logo-card {
    padding: 0.8rem;
  }

  .download-link {
    width: 80%;
  }
  .section-title {
    font-size: 1.4rem;
  }
  
  .album-info{
    font-size: 1.5em;
  }

  .link-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  /* odstránime delenie na 2 časti */
  .nav-container { 
    flex-direction: column; 
    width: 100%; 
    height: auto; 
    align-items: stretch; 
  }

  .main-nav { border: 0; padding: 0; width: 100%; }
  .main-nav li { margin: 10px 0; }
  .main-nav li > a { display: block; font-size: 1.6em; }

  /* Pravý stĺpec skryť na mobile */
  .sub-nav { display: none; }

  /* Submenu pod položkou na mobile */
  .sub-menu { 
    display: none; 
    padding: 10px 0 0 20px; 
    margin: 0;
  }
  .sub-menu.active { display: block; }

  .sub-menu li { margin: 10px 0; }
  .sub-menu a { font-size: 1.4em; }
  nav {
    justify-content: center;  /* stred na mobile */
    align-items: center;

  }
  .main-nav, .sub-nav {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .main-nav li, .sub-menu li {
    margin: 10px 0;
  }
  /*PICOVINA
  */

  .nav-container .sub-nav {
    display: none;
  }

  /* Upravený nav-container na column layout */
    .nav-container {
    flex-direction: column;
    width: 100%;
    height: auto;
    justify-content: center;  /* stred */
    align-items: center;      /* stred */
    margin: 0 auto;
    margin-top: 5em;
  }

  /* Hlavná navigácia na mobile */
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .main-nav li {
    margin: 0.5rem 0;
  }

  .main-nav a {
    color: #fcfcfc;
    text-decoration: none;
    font-size: 1.5rem;
  }


  /* Mobile sub-container */
  #mobile-sub-container {
    display: flex;
    flex-direction: column;
    align-items: center;   /* horizontálne centrovanie */
    text-align: center;    /* text centrovaný */
    width: 100%;
    padding: 0.5rem;
  }

  #mobile-sub-container .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  #mobile-sub-container .sub-menu li {
    margin: 0.5rem 0;
  }

  #mobile-sub-container .sub-menu a {
    color: #fcfcfc;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 2em;
  }



  /* Späť tlačidlo */
  .back-btn {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #fcfcfc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
  }
  /**/
  .ofc-docu-wrap{
    width: 65vw;
  }
  #delete-filter{
    margin: 10px auto;
    margin-bottom: 0;
  }
}
@media (max-width: 680px){
  .select-filter-wrap{
    flex-direction: column;
  }
  .carousel-slide img{
    width: 120px;
  }
  .photos{
      grid-template-columns: repeat(1,1fr);
    } 
    .title-header{
      font-size: 1.25em;
    }
    .title-box{
      height: 85px;
    }
   
}
@media (max-width: 600px) {
  .link-grid {
    flex-direction: column;
  }

  .link-card {
    text-align: center;
  }
}
 @media (max-width: 480px) {
      .vv-title {
        font-size: 1.3rem;
      }

      .role {
        font-size: 1rem;
      }

      .name {
        font-size: 0.9rem;
      }
      .header-description {
    font-size: 0.9rem;
  }
 #clear-search{
  padding-right: 0;
  margin-right: 5px;
  right: 10px;
 }

  .logo-text {
    font-size: 0.9rem;
  }

  .footer-text {
    font-size: 0.8rem;
  }
  .links-section {
    padding: 1.5rem;
  }

  .link-grid li a {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
  .article-heading{
    font-size: 1.5rem;
  }
  .carousel-body{
    width: 80%;

  }
  .carousel-slide{
    flex: 0 0 40%;
  }
  .carousel-slide img{
    width: 90px;
  }
    }
@media (max-width: 450px){
    .grid-container{
        grid-template-columns: repeat(1,1fr);
        gap: 1.5em;
        padding-left: 1.5em;
        padding-right: 1.5em;
        width: 80vw;
    }
    
    .news h1{
        margin-top: 1em;
    }
    .news{
        font-size: 1em;
    }
    .box{
        height: 25em;
    }
    .box h2{
        font-size: 1.3em;
    }
    .box p{
        font-size: 0.8em;
    }
    .box{
        padding: 0.5em;
    }
    .title-header{
      font-size: 1em;
      margin: 0;
      margin-top: 1.8em;
    }
    .title-box{
      height: 85px;
    }
    .title-box h1{
      font-size: 1em;
    }
    .albums{
      grid-template-columns: repeat(1, 1fr);
    }
    .album-info{
    font-size: 1.5em;
  }

  .title-box img{
    height: 80%;
    margin-top: 0.5em;
  }
  .hamburger{
    width: 30px;
    
}
.main-nav{
  font-size: 0.9em;
  transform: none;
}
.sub-menu{
  font-size: 0.6em;
}
.ofc-docu-wrap{
    width: 80vw;
  }
  .ofc-docu-wrap h1{
    font-size: 1.5em;
  }
  .section-wrap{
    width: 85vw;
  }
  details{
   width: 80vw;
  nav{
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("../images/background_navigation.jpeg") center/cover no-repeat;
  }
  
}
.accordion-item{
     margin-bottom: 0.2em;
     width: 80%;
  }
.carousel-title{
  margin-bottom: 0;
  font-size: 1em;
}

}
@media (max-width: 600px) {
    .simple-news {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
        width: 80%;
        font-size: 0.6em;
    }
    .news-icon{
      font-size: 15px;
    }

    .simple-news .news-content {
        width: 100%;
    }

    .simple-news .news-text {
        font-size: 12px;
    }

    .simple-news .news-btn {
        width: 100%;
        text-align: center;
    }

    .simple-news .close-btn {
        position: absolute;
        top: 8px;
        right: 10px;
    }
}