/*
Theme Name: Bredo Lite
Theme URI: http://example.com/
Author: Tvoje meno
Author URI: http://example.com/
Description: Jednoduchá lite téma bez Bootstrapu
Version: 1.0
License: GNU GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bredo-lite
*/

/* ===== Reset & Základy ===== */
body,html {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  color: #222; font-size:20px;font-weight:400;
  line-height: 1.4;
}
.full-width-content {
  width: 100%;
  max-width: 100%;
}

h1 {
    font-family: 'Syne', serif;
    color: #ab2c18;
    font-weight: 700;
    text-align: center;
    margin-top: 1.5em;
}
.imog{margin-top:10px;
	display:block;
    margin-left: auto;
    margin-right: auto;
margin-bottom:10px;

  padding: 5px;
  }
h2, h3 {font-size:20px;
    font-family: 'Syne', serif;
    color: #0058B0;
    font-weight: 700;
    text-align: center;
    margin-top: 1.2em;
}
/* Plná šířka pro karminový pruh */


/* Vnitřní kontejner karminového pruhu */
.strip-inner {
  max-width: 800; /* Omezení šířky obsahu na 800px */
  margin: 0 auto;
  padding: 20px 40px !important; /* Boční padding pro odstup od krajů */
  text-align: center !important;
  box-sizing: border-box;
}





.strip-inner h2,
.strip-inner p {
  margin: 0;
  text-align: center;
}

.haeckel-content .strip.strip-color-karmine {
  width: 100vw !important;
  max-width: 100% !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative;
  background-color: #b51f07;
  color: #fff;
  font-family: 'Syne', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

/* Vnitřní kontejner karminového pruhu */
.strip-inner {
  max-width: 800px; /* Omezení šířky obsahu na 800px */
  margin: 0 auto;
  padding: 20px 40px !important; /* Boční padding pro odstup od krajů */
  text-align: center !important;
  box-sizing: border-box;
}

.strip-inner h2,
.strip-inner p {color:#fff;
  margin: 0;
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.poko {
    max-width: 80% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.poko p {
    margin: 0 0 1em 0; /* Medzera medzi odstavcami */
    padding: 0;
}
.poko-wrapper {
    width: 100%;
    max-width: 100%;
}


/* 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í */gap: 40px; 
}

/* 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: 100px;
  border-radius: 10px; /* Zaoblené rohy pro obrázky */
  margin-right: 30px; /* Odstup pro image-left */
	
	height: auto;   
}

.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: 150px; /* nastavíš max šírku obrázka */
  height: auto;     /* zachová proporcie */
  display: block;   /* odstráni spodný whitespace */
  }
}


@media (max-width: 600px) {
  .strip-inner,
  .custom-section2,
  .custom-section3 {
    padding: 10px 15px;
  }
}
.strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px; /* Větší boční padding pro odstup */
  text-align: center;
}

.strip-inner h2,
.strip-inner p {
  margin: 0;
  text-align: center;
}

@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: 1200px;
  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%;
  }
}

.haeckel-header {
  background-color: #ab2c18;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
}

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

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

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

.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) {
  .haeckel-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: block;
  box-sizing: border-box;
  background: #F7F7F7;
  border: 1px solid #ddd;
  padding: 50px;
  margin-top: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease; 
  
}
.post-box:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.post-box__title {
  color: #b51f07;
  margin-top: 0;
  font-size: 1.4rem;
}
.post-box__title a {
  color: #ab2c18;
  text-decoration: none;
  font-weight: 600;
}
.post-thumbnail img {width:100%;
  height:auto;
  object-fit: contain; /* obrázok sa zmestí celý bez orezania */
  display: block;
}
.post-thumbnail {
  border-radius: 4px;flex: 0 0 30%; /* Obrázok zaberá 30% šírky */
  max-width: 300px;
  margin-bottom: 10px;
}
.post-excerpt {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.3;   /* hustejší text */
  color: #222;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem; /* pridaj, aby si mal kontrolu nad spodným marginom */
  padding: 0;
}

.post-list {
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* menšia medzera medzi položkami */
}

/* --- Š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: #b51f07;
  color: #fff;
  padding: 5px 0;
  text-align: center;
  font-family: 'Syne', sans-serif;
  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 {
  margin: 0; /* Odstraní výchozí margin odstavce */
}
.site-footer a {
  color: #ffd9d4;
  text-decoration: none;
}

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

/* Styling for the wine-tasting-case-content container */
.wine-tasting-case-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Syne', serif; /* Elegant, serif font for a wine theme */
    color: #2E2E2E; /* Dark charcoal for text */
    background-color: #F5F5F5; /* Warm, off-white background reminiscent of parchment */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Heading styles */
.wine-tasting-case-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #5E2A2A; /* Deep burgundy to evoke red wine */
    margin-bottom: 20px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #A63434; /* Subtle wine-red underline */
    padding-bottom: 10px;
}

/* Paragraph styles */
.wine-tasting-case-content p {text-align:justify;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #333333; /* Slightly lighter than main text for contrast */margin: 20px auto; /* Added top/bottom margin for better separation */
    padding: 20px 30px; /* Increased padding for more internal space */
}

/* Strong text within paragraphs */
.wine-tasting-case-content p strong {
    color: #5E2A2A; /* Match heading color for emphasis */
    font-weight: 600;
}

/* Link styles */
.wine-tasting-case-content a {
    color: #A63434; /* Wine-red link color */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}

.wine-tasting-case-content a:hover {
    color: #7B1F1F; /* Darker wine shade on hover */
    border-bottom: 1px solid #7B1F1F;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .wine-tasting-case-content {
        padding: 20px 15px;
    }

    .wine-tasting-case-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .wine-tasting-case-content p {padding:30px;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .wine-tasting-case-content {
        padding: 15px 10px;
    }

    .wine-tasting-case-content h2 {
        font-size: 1.5rem;
    }

    .wine-tasting-case-content p {
        font-size: 0.95rem;
    }
}

/* Optional: Add a subtle wine bottle background image or gradient */
.wine-tasting-case-content {
    background: #F5F5F5;
}

/* Animation for headings on page load */
.wine-tasting-case-content h2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure paragraphs fade in slightly after headings */
.wine-tasting-case-content p {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.wine-box {
  display: flex;
  align-items: flex-start;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  gap: 24px; /* medzera medzi obrázkom a textom */
}

.wine-box img {
  max-width: 200px;
  border-radius: 8px;
}

.wine-box .text-block {
  flex: 1;
}

.wine-box h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.wine-box p {
  line-height: 1.6;
  color: #444;
}