/* === Allgemein === */
/* --- Header --- */
#blogHeader {
  position: sticky;
  max-width: 1000px;
  margin: auto;
  top: 0;
  z-index: 100;
  background-color: rgba(83, 151, 185, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  backdrop-filter: blur(4px);
}

.return-area {
  flex-shrink: 0;
  margin-left: 10px;
  margin-right: 10px;
}

.center-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
}

.return-button {
  background-color: rgba(0, 78, 18, 0.15);
  border: 1px solid #444;
  border-radius: 5px;
  padding: 0.3rem;
  box-shadow: 0 6px 12px rgba(0, 78, 18, 0.45);
  cursor: pointer;
  object-fit: contain;
}

.return-button img {
  width: 1.8rem;
  height: auto;
}

.return-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

#blogHeader img {
  height: 40px;
  width: auto;
}

#blogHeader .title {
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  font-weight: 450;
  color: #202020;
}

/* --- Footer --- */

#blogFooter {
  max-width: 1000px;
  margin: 0.2rem auto 1rem auto;  
  padding: 1rem 2rem;
  background-color: #e0dedeee;  
  color: #272727;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.04);
  border-radius: 8px;
}

#blogFooter a {
  color: #204020;
  text-decoration: none;
  margin: 0 0.5rem;
}

#blogFooter a:hover {
  text-decoration: underline;
}


/* ---Site --- */

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f2f2f2;
  color: #222;
}

main#blogContent {
  max-width: 1000px;
  margin: auto;
  padding: 1rem 2rem;
  background-color: #ffffffee;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 8px;
}

#blogText strong {
  font-weight: 550;        
  color: #204020;           
  padding: 0.1em 0.2em;    
  border-radius: 3px;      
}

#blogFrom{
  font-size: 0.9em;
}

/* === Textformatierung === */
h1, h2 {
  color: #204020;
  background-color: rgba(221, 220, 220, 0.4);
  letter-spacing: 0.08em;
  border-radius: 8px;
  padding: 4px;
  font-weight: 480;
}
/* === Textformatierung === */
h3 {
  color: #204020;
  letter-spacing: 0.08em;
  border-radius: 8px;
  padding: 4px;
  font-weight: 450;
}


h1{
  font-size: 1.6em;
}
h2{
  font-size: 1.4em;
}
h3{
  font-size: 1.2em;
}


p {
  margin-bottom: 1rem;
}

/* === Fußbereich: Autor, Datum etc. === */
.blog-footer {
  border-top: 1px solid #ccc;
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* ----- Teaser bereich -------*/
.blog-teaser {
  margin: 1rem auto;
  padding: 1rem;
  max-width: 1000px;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.teaser-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.teaser-image img {
  max-width: 200px;
  height: auto;
  border-radius: 4px;
}

.teaser-text {
  flex: 1;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  font-weight: 450;
  line-height: 1.5;
  padding: 10px;
  color: #333;
}

/* Responsiv: untereinander bei kleiner Breite */
@media (max-width: 600px) {
  .return-button {
    font-size: 1.5rem;
  }
  .return-area {
    margin-left: 1px;
  }
  .teaser-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .teaser-image img {
    max-width: 100%;
  }
}



/* === Vorschaukarten für Artikelübersicht === */
.article-preview {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  max-width: 1000px;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.article-preview:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.article-preview img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}
.article-preview .text {
  padding: 1rem;
}
.article-preview .text h2 {
  margin-top: 0;
}
.article-preview .meta {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.5rem;
}

/* === Responsive Anpassungen === */
@media (min-width: 768px) {
  .article-preview {
    flex-direction: row;
  }
  .article-preview img {
    width: 40%;
    max-height: none;
  }
  .article-preview .text {
    width: 60%;
  }
}
