/*
Theme Name: banerovy_lite
Theme URI: http://example.com/
Author: Tvoje Meno
Author URI: http://example.com/
Description: Tmavomodrá minimalistická téma s sticky headerom a hero sekciou.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: banerovy_lite
*/
body {margin: 0;  background-color: #0c0d1b !important;
  color: #ffffff;font-family: "Roboto", sans-serif !important;
}
section {
  background-color: #ffffff;
}


.navbar-nav .nav-button {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
}
.navbar-nav .nav-button:hover {
  background-color: #001C57;
  color: #fff;
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.bilo article div img {
  max-height: 500px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block; /* často pomáha so zobrazením */
  margin: 0 auto; /* ak chceš centrovať */
}
.farba{color:#F1EAD1;}
/* Ak chceš pridať aj farby */
.custom-btn-small.btn-primary {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.custom-btn-small.btn-primary:hover {
    background-color: #000;
    color: #fff;
}

.modro {background-color:#19274f; }

.mbr-text{text-align:justify;}

.page-template-default .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
 .mbr-fullwidth-fix {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
main.bilo {
  max-width: 1200px;  /* alebo iná max šírka podľa dizajnu */
  width: 90vw;        /* alebo 100%, ak chceš plnú šírku na menších obrazovkách */
  margin: 0 auto;     /* toto vycentruje horizontálne */
  padding: 40px 20px;
  box-sizing: border-box;text-align:justify;
}

@media (min-width: 992px) {
  main.bilo {
    padding: 60px 80px;
  }
}
.bilo{color: #ffffff !important;font-size:1.1rem;}
.section{color: #ffffff !important;}
.liba{text-align: justity;}
.full-width {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-color: #03002e;
padding: 40px 0;
}
.moko a {
  color: #F6BE00 !important;
}
.category-title{margin-bottom:30px;font-family: 'Merriweather', sans-serif;font-size:1.8rem;}

.maly{font-size:1.1rem;font-weight:400;}

a {
  color: #F6BE00 !important;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.hero-wrapper {
  position: relative;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.hero-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
h2, h3 { font-family: 'Merriweather', sans-serif;color:#6eb4ff;font-size:20px;
    font-size: 1.1rem;
}
@media (min-width: 768px) {
    h2, h3 {
        font-size: 1.5rem;
    }
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  padding: 1rem;
}

.hero-text h1 { font-family: 'Merriweather', sans-serif;
  font-size: 3rem;
  margin: 0;
}

.hero-text h6 {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #F1EAD1; /* dark yellow */
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #204284;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

header nav a {
   font-family: 'Merriweather', sans-serif !important;
    margin-right: 20px;
    font-weight: 600;
    color: #fff;
}

header nav a:last-child {
    margin-right: 0;
}

#navbarNav .navbar-nav .nav-item .nav-link { 
    font-family: 'Merriweather', sans-serif !important;
    font-weight: 600;
    color: #ffffff !important; /* White links */
    margin-right: 20px;
    text-decoration: none;
    font-size: 1.6rem;
}

#navbarNav .nav-link:hover {
    color: #e0e0e0; /* Svetlošedá farba pri prechode myšou (voliteľné) */
}

#navbarNav .nav-link:last-child {
    margin-right: 0; /* Odstráni margin-right pre posledný odkaz */
}

@media (max-width: 768px) {
    #navbarNav .navbar-nav .nav-link {
        font-size: 14px; /* Menší text na mobiloch */
    }
}
.hero-section {
  width: 100vw;
  height: 300px;
  background: linear-gradient(135deg, #03002e, #010057);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}
.hero-section {
  width: 100%;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 340px;
  display: block;
  max-width: 1920px; /* ak chceš obmedziť max. šírku */
  margin: 0 auto;
}


.hero-section p {
  margin: 0 0 20px 0;
  font-size: 1.2rem;
  max-width: 600px;
}

.hero-link {
  color: #204284;
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-link:hover {
  text-decoration: underline;
}

main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}



.category-title{color: #204284;}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.category-item {
  background: rgba(25,36,79,0.95);
  padding: 1rem;
  border-radius: 8px;
}

.category-item p {
  color: #fff;
  border: 1px solid #fff;
  padding: 10px;
  border-radius: 5px;
  margin-top: 0;
  display: block;
  overflow: visible;
}
.boko {color: #F6BE00;}

/* Spoločné štýly pre sekcie */
.section2 {
    display: flex !important; /* Zvýšená špecifickosť pre flex */
    flex-direction: row; /* Vynútenie vodorovného rozloženia */
    align-items: center; /* Vertikálne zarovnanie na stred */
    justify-content: space-between; /* Rozloženie s medzerou */
    padding: 20px;
    margin-bottom: 30px;
    max-width: 1200px; /* Maximálna šírka */
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap; /* Zabránenie zalomeniu obsahu */
    min-width: 0; /* Riešenie problémov s pretekaním */
}

/* Štýly pre image-left */
.section2.image-left {
    flex-direction: row !important; /* Obrázok vľavo, text vpravo */
}

/* Štýly pre image-right */
.section2.image-right {
    flex-direction: row-reverse !important; /* Obrázok vpravo, text vľavo */
}

/* Štýly pre obrázky */
.section2 img {
    max-width: 120px; /* Obrázok zaberá polovicu */
    height: auto;
    object-fit: cover;
    margin: 10px;
       flex-shrink: 0; /* Zabránenie zmrštenia obrázka */
}

/* Štýly pre textový blok */
.section2 .text-block {
    max-width: 80%;
    padding: 20px;
    flex-shrink: 0; /* Zabránenie zmrštenia textu */
}

/* Štýly pre nadpisy a odstavce */
.section2 .text-block h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  
}

.section2 .text-block p {
    font-size: 1.1rem;
    line-height: 1.5;
 
}

/* Responzívne úpravy - iba pre veľmi malé obrazovky */
@media (max-width: 768px) {
    .section2.image-left,
    .section2.image-right {
        flex-direction: column !important; /* Zvislé zoradenie na mobiloch */
        text-align: center;
    }

    .section2 img {
        max-width: 180px;
        margin: 10px 0;
    }

    .section2 .text-block {
        max-width: 100%;
        padding: 10px;
    }

    .section2 .text-block h2 {
        font-size: 1.1rem;
    }

    .section2 .text-block p {
        font-size: 0.9rem;
    }
}

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

.category-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-post {
    background-color: #204284;
    color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.category-post:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-excerpt {
    font-size: 1rem;
    margin-bottom: 15px;
    border: 1px solid #ffffff;
    padding: 10px;
    border-radius: 5px;
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
}

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

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.section2.image-left,
.section2.image-right {
background-color:#003b7a;                  
  border: 8px solid #ddd;                   /* jemný okraj */
  border-radius: 8px;                       /* zaoblené rohy */
  padding: 30px;                            /* vnútorné odsadenie */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* jemný tieň */
  max-width: 1200px;                         /* max šírka */
  margin: 40px auto;                        /* vertikálna medzera a centrovanie */
  box-sizing: border-box;                   /* zahrnutie paddingu do veľkosti */
  
  display: flex;                           /* obrázok a text vedľa seba */
  gap: 30px;                              /* medzera medzi obrázkom a textom */
  align-items: center;                    /* vertikálne vycentrovanie */
  flex-wrap: wrap;                        /* na menších obrazovkách zlomí do riadku */
}