/*
 Theme Name: Womens Dark Child Theme
*/

/* Global */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
	  min-height: 100%; /* radšej min-height ako height */  overflow-x: hidden;
}
 body, html {
    overflow-x: hidden;
}
.content {
  flex: 1; /* vytlačí footer na spodok */
}

@media (max-width: 1200px) {
    .custom-band .inner-container {
        max-width: 90%; /* Na menších obrazovkách sa prispôsobí */
    }
}
@media (max-width: 768px) {
    .custom-band {
        height: 300px; /* Zmenší výšku na mobiloch */
        padding: 15px;
    }
}
body {
    font-family: "Rubik", sans-serif;
    font-size: 20px;
    background: #F1F1E2;
    color: #222;
    line-height: 1.6; padding-bottom: 60px;
}

/* Header */
header.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background: #0052A4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); height:50px;
}
.sida{text-shadow: 0 2px 6px rgba(0,0,0,2.1);}
.hero-content, h1{font-family: 'Merriweather', serif; color:#ded5ab;font-size:30px !Important; }
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: 'Merriweather', serif;max-width: 250px; /* podľa potreby */
 
}

  .site-title a {
  white-space: normal;   /* umožní zalamovanie textu */
  overflow: visible;     /* odstráni skrytie textu */
  text-overflow: clip;   /* odstráni bodky */
  display: inline-block; /* alebo block podľa potreby */
}
.site-title, 
.site-title a,
.site-title a::before,
.site-title a::after,
.site-title::before,
.site-title::after {
    content: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}
header.site-header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

header.site-header nav a {
        color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,2.2);
}

header.site-header nav a:hover {
    background: #fff;
}

.header-container {color:#0052A4 !important;
  display: flex;
  align-items: center;
}

.main-menu {color:#0052A4;
  margin-left: auto; /* posunie menu k pravej strane */
  margin-right: 200px; /* prispôsob podľa potreby */
}
/* Content */

body.single main#primary.site-main {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;      /* centrovanie */
  box-sizing: border-box;
}

/* Responzívne pre menšie obrazovky */
@media (max-width: 1000px) {
  body.single main#primary.site-main {
    max-width: 95%;
    padding: 0 10px;
  }
}

/* Responzívne pre menšie obrazovky */
@media (max-width: 1000px) {
  body.single main#primary.site-main .content-inner {
    max-width: 95%;
    padding: 0 10px;
  }
}
.niobe{line-height: 1.4;}
.page-content a {
    display: inline-block;
    background: #b80000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    margin: 8px 0;
}

.page-content a:hover {
    background: #8f0000;
}

.page-content img {
    border-radius: 12px;
    display: block;
    margin: 20px 0;
}

.content-inner {text-indent: 30px;text-align:justify;
    max-width: 900px;
    margin: 0 auto;
    
}
.inner-container {text-indent: 30px;text-align:justify;
    max-width: 920px;
    margin: 0 auto;
    padding: 20px;
}
/* Hero Banner */
.hero-banner {
    width: 100%;
    max-height: 400px;
    height: 360px;
    background-image: url('images/blesk.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-size: 1.4rem;
}

@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }
    .hero-banner .hero-content h2 {
        font-size: 2rem;
    }
}

.full-width-band {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background-color: #f0f0f0 !important;
    padding: 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
/* ---------------- Farebné pásy ---------------- */

 
h1  {
    font-family: 'Merriweather', serif; 
    line-height: 1.3;
}
 h2 {font-size:24px;
    font-family: 'Merriweather', serif;  color:#14329c;
    line-height: 1.3;
}
 h3 {font-size:22px;
    font-family: 'Merriweather', serif; color:#b00000;
    line-height: 1.3;
}
p {
    font-family: 'Rubik', sans-serif;
    line-height: 1.5;
}

p.alt, span {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
}

.section-inner {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}
.category-archive {text-align:justify;
    max-width: 900px;text-indent:20px;
    padding: 0 20px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}
.moro{background-color: #ddd;}
.category-archive h1 {
    color: #B80000;
}
.category-archive p {text-align:justify;
     
}
.category-archive h1 {
    color: #B80000;
     /* Bílé pozadí pro <h1> */
    margin-bottom: 20px; /* Mezera pod <h1> */
}
.category-description {font-family: "Rubik", sans-serif;
    max-width: 1000px; /* Stejná šířka jako .category-archive */
    margin: 0 auto 20px auto; /* Vycentrování a mezera dole */
    padding: 20px;
        font-size: 20px;
    line-height: 1.5;
}
.post-list {
   /* Odstraní odrážky */
    padding: 0; /* Odstraní výchozí padding <ul> */
   /* Bílé pozadí pro <ul> */
}

.post-list li {
    margin-bottom: 25px; /* Mezera mezi <li> */
    padding: 0; /* Bez paddingu na <li> */
     /* Bílé pozadí pro <li> */
}

.post-list li a {font-weight:600;
    display: block; /* Odkaz na celý řádek */
    margin-bottom: 10px; /* Mezera mezi odkazem a <p> */
    color: #333; /* Barva odkazu */
    text-decoration: underline; /* Bez podtržení */
     /* Bílé pozadí pro odkaz */
}

.post-list li a:hover {
    text-decoration: underline; /* Podtržení při najetí */
}

.post-list li p {
    background-color: #C7EBCF; /* Jemná šedá pouze pro <p> */
    padding: 10px; /* Vnitřní odsazení */
    border-radius: 5px; /* Zaoblené rohy */
    margin: 0; /* Bez marginu, aby nebyly další mezery */
}
.section-1 {
    background-color: #047857;
}

.section-2 {
    background-color: #B80000;
}

/* Child Pages */
.child-pages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    max-width: 300px;
}

.child-page-link {
    display: inline-block;
    background: #047857;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    width: auto;
}

.child-page-link:hover {
    background: #003D79;
}


.main-menu a.child-page-link {
    background: #047857;
    color: #fff;
    padding: 4px 6px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.main-menu a.child-page-link:hover {
    background: #003D79;
}

/* Parent Buttons */
.parent-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.parent-page-button {width:400px;
    display: inline-block;
    background: #0052A4;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.parent-page-button:hover {
    background: #003D79;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.navigation-buttons .prev-button a,
.navigation-buttons .next-button a {
    background: #b80000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
}

.navigation-buttons .prev-button a:hover,
.navigation-buttons .next-button a:hover {
    background: #8f0000;
}

/* Footer */
footer.site-footer {font-size:16px;
  position: fixed;
 bottom:0;
  left: 0;
  width: 100%;
  height: 40px;
  line-height: 10px;
  background-color: #0052A4;
  color: #fff;
  text-align: center;
  z-index: 1000; /* aby bol nad obsahom */
}
/* 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 img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* jemné zaoblenie */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* 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; }
}

/* Obal tabuľku wrapperom, aby bola scrollovateľná na mobile */
.table-wrapper {
  width: 100%;
  overflow-x: auto; /* umožní horizontálny scroll na malých obrazovkách */
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Základná tabuľka pre desktop */
table {
  width: 40%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
  background: #fff;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

table th {
  background: #f4f4f4;
  font-weight: bold;
}

/* Mobile view – rozbitie do kariet */
@media (max-width: 768px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block; /* všetko sa zmení na blok */
  }

  thead {
    display: none; /* schová hlavičku tabuľky */
  }

  tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    background: #fff;
  }

  td {
    border: none;
    display: flex;
    justify-content: space-between;
    padding: 8px 5px;
  }

  td::before {
    content: attr(data-label); /* názov stĺpca doplníme sem */
    font-weight: bold;
    color: #333;
    margin-right: 10px;
  }
}

.styled-link {
    display: inline-block; /* Zabezpečí, že odkaz je obdĺžnikový */
    padding: 10px 20px; /* Vnútorný okraj pre pohodlný vzhľad */
    background-color: #e0e0e0; /* Svetlosivé pozadie */
    color: #333; /* Farba textu */
    text-decoration: none; /* Odstráni podčiarknutie odkazu */
    border-radius: 5px; /* Zaoblené rohy */
    transition: background-color 0.3s ease; /* Plynulý prechod pri hoveri */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.styled-link:hover {
    background-color: #d0d0d0; /* Tmavší odtieň pri prechode myšou */
    color: #000; /* Tmavší text pri hoveri */
}
.main-menu {
  background:#0052A4;;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-menu ul li {
  position: relative;
}

.main-menu ul li a {
  display: block;
  padding: 2px 22px;
  color: #fff;         /* vždy biela */
  text-decoration: none;
  white-space: nowrap;
}

.main-menu ul li a:hover {
  color: #fff;         /* aj hover biela */
  background: #003D79; /* mierne stmavenie pozadia pri hover */
}

/* dropdown */
.main-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0052A4;
  min-width: 180px;
  z-index: 9999;
  flex-direction: column;
}

.main-menu .dropdown-menu li {
  width: 100%;
}

.main-menu .dropdown:hover .dropdown-menu {
  display: block;
}


.post-title {font-size:22px;
    color: #5B005B;
}

.post-title a {
    color: #5B005B;
    
}

.post-title a:hover {
    color: #C10000;
}
/* Child Pages */
.child-pages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    max-width: 300px;
}

 

.child-page-link:hover {
    background: #065f46;
}
.child-page-button {margin-bottom:15px;max-width:700px;
    display: flex;
    flex-wrap: wrap;
  padding: 8px 16px;
    background:#0052A4;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}
.child-page-button:hover {
    background: #b80000;
}
.child-buttons {
    margin-top: 20px;
}
@media (max-width: 480px) {
    .child-buttons {
        flex-direction: column;   /* tlačidlá pod sebou */
        align-items: center;      /* centrovanie */
        gap: 8px;                 /* menšia medzera medzi buttonmi */
    }

    .child-page-button {
        width: 90%;              /* buttony sa natiahnu na šírku kontajnera */
        max-width: 300px;         /* maximálna šírka buttonu */
        text-align: center;
    }
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.prev-button, .next-button {
    padding: 10px 20px;
         color: white;
    text-decoration: none;
    border-radius: 5px;
}
 
 