/*
Theme Name: Bredo Lite
Description: Jednoduchá lite téma pre  full width flarebottom.com
Version: 1.6
License: GNU GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

body,html {
  margin: 0;
 font-family: "Nunito", sans-serif;
  background: #fafaf5;
  color: #111; font-size:20px;font-weight:500;
  line-height: 1.4;
}
.full-width-content {
  width: 100%;
  max-width: 100%;
}

 body, html {
    overflow-x: hidden;
}
h1 {
    font-family: "Lora", serif; font-size:28px;
    color: #000;
    font-weight: 700;
    text-align: center;
    margin-top: 0.3em;
}
.wigo{color: #003162;}
h2, h3 {font-family: "Lora", serif;
font-size:24px;
    
    font-weight: 700;
    text-align: center;
    margin-top: 1.3em;
}
h4  {
    font-family: "Lora", serif; font-size:28px;text-shadow: 2px 2px #000000;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-top: 0.3em;
} 
.hero-banner {
    width: 100%;
    max-height: 300px;
    height: 300px;
      background-image: url('/fabric/pattern.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
       display: flex;
    align-items: center;
    justify-content: center;
        text-align: center;
}

.hero-banner .hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.hero-banner .hero-content p {color:#fff; font-family: "Lora", serif;    font-size: 1.2rem;
}
.hero-content, h1{font-family: "Lora", serif; color:#daedff;font-size:30px !Important; text-shadow: 2px 2px #000000;}
header.site-header h3, {
       color: #fff;
    font-weight: 400;
}
.site-title { text-shadow: 0 2px 6px rgba(0,0,0,0.8);font-size:26px;font-family: "Lora", serif;max-width: 250px; /* podľa potreby */
 
}

.header-inner h4{margin-top:20px;}

.entry-content{text-align:justify;}
.entry-content p{text-indent:10px;}
.hedo{color:#F7F7F7;}
.custom-band1,
.custom-band2,
.custom-band3,
.custom-band4 {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 30px;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
       box-sizing: border-box;margin-bottom: 15px;
}
  
.custom-band .inner-container,
.custom-band2 .inner-container,
.custom-band3 .inner-container { font-family: "Lora", serif; font-size:24px;font-weight:600;
    max-width: 1100px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center; /* Vystredí text v rámci kontajnera */
}
        }
.custom-band2 {
    background-color: #A43A20; /* Èervenohnedá */
	color:#FFF;
}


.text-block h2, .text-block h3 {
    color: #0052A4 !important;
}
.strip.strip-color-karmine {
  width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            background-color: #b51f07;
            padding: 20px;
            text-align: center;
            box-sizing: border-box;min-height:100px;
}
.strip-inner {
  max-width: 1000px; /* Omezení šířky obsahu na 800px */
  margin: 0 auto;
  padding: 20px 40px !important; /* Boční padding pro odstup od krajů */
   box-sizing: border-box;}

.strip-inner p {margin-bottom:10px; }
.strip-inner li {margin-bottom:10px;  font-weight:500;font-size:16px;}
/* Plná šířka pro karminový pruh */
.navbar .navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

h2 {color:#003D79 !important; margin-top:10px; margin-bottom:10px;}
h3 {color:#C65400 !important; margin-top:10px; margin-bottom:10px;}
.navbar .navbar-nav li {
  margin: 0 10px; /* Space between buttons */
}


.navbar .navbar-nav li a { font-family: "Lora", serif;
  display: inline-block;
  padding: 5px 10px; /* Button padding */
  background-color: #003d7a; /* Button background color */
  color: #fff; /* White text */
  text-decoration: none; /* Remove underline */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s ease; /* Smooth hover effect */box-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

.navbar .navbar-nav li a:hover {
  background-color: #005ab4; /* Darker background on hover */
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}



@media (max-width: 1100px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(350px, 1fr)); /* 2 stĺpce pre menšie obrazovky */
    }
}

@media (max-width: 750px) {
    .category-grid {
        grid-template-columns: 1fr; /* 1 stĺpec pre veľmi malé obrazovky */
    }
}
.category-item p {
    margin: 0;
    font-size: 1.1em; /* Menší text pre popis */
    color: #000;font-weight:400;text-indent:8px;
    line-height: 1.3;
}
/* Omezení šířky pro .custom-section2 a .custom-section3 */
.custom-section2,
.custom-section3 {
  max-width: 1200px; /* Šířka 800px */
  margin: 0 auto; /* Centrování */
  padding: 20px 40px; /* Boční padding pro konzistentní vzhled */
  box-sizing: border-box;
  display: flex; /* Flexbox pro zarovnání obrázku a textu */
  align-items: center; /* Vertikální centrování */
}

/* Styl pro custom sekce */
.custom-section2,
.custom-section3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

/* Obrázky s zaoblenými rohy */
.custom-section2.image-left img,
.custom-section3.image-right img {
  max-width: 300px;
  border-radius: 10px; /* Zaoblené rohy pro obrázky */
  margin-right: 30px; /* Odstup pro image-left */
}

.custom-section3.image-right img {
  margin-right: 0;
  margin-left: 30px; /* Odstup pro image-right */
}

.custom-section2 .text-block,
.custom-section3 .text-block {
  text-align: left;
  flex: 1;
}

/* Responzivní úpravy */
@media (max-width: 1200px) {
  .strip-inner,
  .custom-section2,
  .custom-section3 {
    max-width: 100%;
    padding: 15px 20px;
  }
  .custom-section2,
  .custom-section3 {
    flex-direction: column;
  }
  .custom-section2.image-left img,
  .custom-section3.image-right img {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 20px;
    max-width: 100%;
  }
}


@media (max-width: 600px) {
  .strip-inner,
  .custom-section2,
  .custom-section3 {
    padding: 10px 15px;
  }
}


@media (max-width: 900px) {
  .strip-inner {
    padding: 15px 20px; /* Menší padding na užších obrazovkách */
  }
}
@media (max-width: 768px) {
  .strip-inner {
    padding: 10px;
  }
}
/* Responzívne zobrazenie pre úzke obrazovky */
@media (max-width: 768px) {
  .custom-section2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-section2 .text-block {
    text-align: left;
    width: 100%;
  }
}

.custom-section3 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.custom-section3 img {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.custom-section3 .text-block {
  flex: 1;
  min-width: 250px;
}

/* Obrázok vpravo */
.custom-section3.image-right {
  flex-direction: row-reverse;
}
/* ===== Kontajner a riadky bez Bootstrapu ===== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.col {
  box-sizing: border-box;
}
.image {
  width: 25%;
}
.text {
  width: 75%;
}
@media (max-width: 768px) {
  .image,
  .text {
    width: 100%;
  }
}

.denim-header {
  background-color:#00458b;height:80px;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  max-height: 80px;
  width: auto;
  display: block;
}

.navbar-nav {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;  position: sticky;
}

.navbar-nav li {
  display: inline-block;
}

.navbar-nav li a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 22px;
}

.navbar-nav li a:hover {
  text-decoration: underline;
}


/* Responzívne správanie pre mobil */
@media (max-width: 768px) {
  .denim-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}
/* ===== Box pre príspevky ===== */
.post-box {
    display: grid;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto; /* Centrovanie */
    padding: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    font-size: 16px;
    text-align: justify;
    background: #fff; /* Pozadie pre každý príspevok */
    border: 1px solid #ddd; /* Okraj pre každý príspevok */
    border-radius: 8px; /* Zaoblenie rohov */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Tieň */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 15px; /* Vnútorný odstup pre každý príspevok */
}



.post-thumbnail img {
    max-width: 200px; /* Maximálna šírka obrázka */
    height: auto; /* Zachová proporcie, zabráni orezaniu */
    border-radius: 4px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain; /* Zabezpečí, že celý obrázok je viditeľný */
}

.post-title {
    font-size: 1.1em;
    margin: 10px 0;
}

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

.post-title a:hover {
    color: #bb0007;
}

.
.read-more {
    display: inline-block;
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

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

@media (max-width: 750px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}
.post-excerpt{
 display: flex;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
  color: #222;
  margin-top: 0.5rem;text-indent:15px;}

.post-list {max-width:1200px;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

/* --- ŠTÝLY PRE STRIEDAVÉ BLOKY --- */
.custom-row {
  display: flex;
  flex-wrap: wrap;
  margin: 40px 0;
  align-items: center;
}

.custom-image {
  flex: 1 1 40%;
  max-width: 40%;
  padding: 10px;
}

.custom-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.custom-text {
  flex: 1 1 60%;
  max-width: 60%;
  padding: 10px;
}

.custom-text h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ab2c18;
}

.custom-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}


/* --- RESPONSÍVNE ÚPRAVY --- */
@media (max-width: 768px) {
  .custom-row {
    flex-direction: column;
  }
  .custom-image,
  .custom-text {
    max-width: 100%;
  }
}
.site-footer {
  background-color: #003d7a;
  color: #fff;
  padding: 5px 0;
  text-align: center;
   font-size: 0.95rem;
  display: flex; /* Aktivuje Flexbox */
  justify-content: center; /* Horizontální vycentrování (již máte díky text-align) */
  align-items: center; /* Vertikální vycentrování */
  min-height: 50px; /* Minimální výška pro zajištění prostoru */
}
.site-footer p {font-family: "Lora", serif;font-weight:600;
  margin: 0; /* Odstraní výchozí margin odstavce */
}
.site-footer a {
  color: #ffd9d4;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Tri stĺpce vedľa seba */
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* medzera medzi fotkami */
  margin: 20px 0;
}
.three-columns p {text-align:center; color:#4A4A97; font-size:16px;font-weight:600;}
.three-columns img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* jemné zaoblenie */
  box-shadow: 0 2px 6px rgba(0,0,0,0.4); /* decentný tieň */
  transition: transform 0.3s;
}

.three-columns img:hover {
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .three-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .three-columns { grid-template-columns: 1fr; }
}


