/*
 Theme Name: Iconic One Child
 Theme URI: https://example.com/
 Description: Child Theme für Iconic One
 Author: Jurek
 Template: iconic-one
 Version: 1.0
*/

/* Eigene Styles ab hier */

body,
.entry-content,
.entry-box,
.rezept-box,
.zutaten-font,
.sektionen-font {
  font-family: 'Inter', 'Segoe UI', sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.pagination .page-numbers {
    font-size: 0.9rem;
    font-weight: 300;
    color: #17cfc0;
    opacity: 0.8;
}

.pagination .page-numbers.current {
    opacity: 1;
    font-weight: 400;
}

/* Haupt-Inhaltsbereich einfärben */
main.content {
  background-color: #f6f6f6;
}

/* Beitragscontainer einfärben */
.post-inner,
.post-thumbnail,
.post-content {
 background-color: #fcfcfc;
}

.post-inner {
  margin-bottom: 10px !important; /* Abstand zwischen den Beiträgen */
}

/* "Follow:" im Sidebar-Top-Bereich ersetzen */
.sidebar-top p:first-child {
    font-size: 0 !important; /* Originaltext unsichtbar machen */
}

.sidebar-top p:first-child::after {
    content: "Śledź:" !important; /* Neuer polnischer Text */
    font-size: 16px !important;    /* gewünschte Größe */
    color: inherit !important;     /* gleiche Farbe wie vorher */
}

.info-box {
  margin: 1.8rem 0;
  padding: 1.4rem 1.6rem;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  background: #f9f2dfe2;
}

.info-box .sektionen-font {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.info-box .zutaten-font {
  margin: 0;
  padding-left: 1.2rem;
}

.info-box .zutaten-font li {
  margin-bottom: 0.35rem;
}

/* Optional: leichte Variante für Dark Mode */
@media (prefers-color-scheme: dark) {
  .info-box {
    border-color: #3c4250;
    background: #262a34;
  }
}

/* ===============================
   📁 2. Bilddarstellung & Lightbox (Simple Lightbox aktiv)
   Beschreibung:
   - Bildgrößen, Hover-Effekte, Fancybox-Design
   - Unterstützt das Plugin "Simple Lightbox"
=============================== */

.lightbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  column-gap: 3px;
  row-gap: 0px;
  margin-bottom: 20px;
}

.lightbox-container img {
  width: 150px;
  height: 106px;
  border-radius: 4px;
  display: block;
  max-width: 100%;
  border: 2px solid #aaaa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 6px 6px 6px auto;
}

.lightbox-container img:hover,
img.alignleft:hover,
img.alignright:hover,
img.aligncenter:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

img.alignright,
img.aligncenter,
img.alignleft {
  border-radius: 5px;
  border: 2px solid #aaaa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

img.alignleft {
  margin-right: 10px;
  float: left;
}

img.alignleft.small { max-width: 150px; }
img.alignleft.medium { max-width: 250px; }

img.alignleft.large {
  max-width: 340px; 
  margin-top: 7px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.bildzentriert {
  text-align: center;
}
.bildzentriert img {
  float: none;
  display: inline-block;
}

/* Fancybox Caption – wird von Simple Lightbox übernommen */
.fancybox-caption {
  font-size: 18px !important;
  color: #ffffff !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  padding: 10px 15px !important;
  border-radius: 5px !important;
  max-width: 90% !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-family: "Helvetica", sans-serif !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}
