/*
Willkommen bei den Individuellen CSS
Wie es funktioniert, steht unter http://wp.me/PEmnE-Bt
*/

/* Zierstriche an Titeln & Untertitel entfernen */
.entry-title:before,
.entry-title:after,
.site-description:before,
.site-description:after {
  content: none;
}

/* Zierstriche an Kommentar-Überschriften entfernen */
.comments-title:before,
.comment-reply-title:before,
.no-comments:before,
.comments-title:after,
.comment-reply-title:after,
.no-comments:after {
  content: none;
}

/* Lesedauer im Meta-Bereich ausblenden */
.entry-meta span.reading-time {
  display: none !important;
}

/* Abstand unter H1-Titeln auf Einzelansicht */
h1.entry-title {
  margin-bottom: 0;
  padding-bottom: 10px;
}

/* Meta auf Einzelbeiträgen sichtbar lassen */
.single .entry-meta {
  display: block;
}

/* Wortumbruch bei Titeln normal halten */
.entry-title {
  word-wrap: normal;
}

/* Startseiten-Loop (Hauptbereich) als Flex-Container */
.home #main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/* Kartenhöhe & „Weiterlesen“-Button-Position bei normalen Posts */
@media (min-width: 576px) {
  .hentry.col-md-4:not(.sticky) {
    height: 630px;
    overflow: hidden;
    position: relative;
  }

  .hentry.col-md-4:not(.sticky):before {
    background-image: linear-gradient(
      to top,
      rgb(255, 255, 255) 0%,
      rgb(255, 255, 255) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    bottom: 0;
    content: "";
    height: 150px;
    left: 0;
    position: absolute;
    width: 100%;
  }

  .entry-summary a.more-link {
    position: absolute;
    bottom: 30px;
    left: 15px;
    width: calc(100% - 30px);
  }
}

/* Kategorie-Überschrift auf Kategorie-Seiten ausblenden */
.category .page-header {
  display: none;
}

/* Flexslider-Höhe begrenzen */
.flexslider .slides > li {
  max-height: 500px;
  overflow: hidden;
}

/* Gravatar-Link im Widget verstecken */
.widget-grofile .grofile-full-link {
  display: none;
}

/*** Markierungsfarbe ändern ***/
::-moz-selection {
  background-color: #d3b062;
  color: #fff;
}
::selection {
  background-color: #d3b062;
  color: #fff;
}

/*** Copyrightzeichen setzen ***/
#colophon p.info:after {
  content: "© 2016-2023 frauzuckerbroetchen.com / All rights reserved";
  display: block;
}

/*** Bildunterschriften mittig ***/
figure {
  text-align: center;
}
figcaption {
  display: inline-block;
  text-align: left;
}

/* Abstand zwischen Gravatar-Bild und Text */
#gravatar-3 img.avatar {
  display: block !important;
  margin: 0 auto !important;
}

/* =========================
   FRAU ZUCKERBRÖTCHEN: STARTSEITEN-KACHELN
   ========================= */

.home #content .container {
  position: relative !important;
  padding-top: 0 !important;
}

.home #secondary #block-75 {
  position: absolute !important;
  top: 36px !important;
  left: -877px !important;
  width: 1168px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #222222 !important;
  z-index: 3 !important;
  box-sizing: border-box !important;
}

.home #primary,
.home #secondary {
  padding-top: 250px !important;
}

.home #fzb-home-tiles {
  background: #ffffff !important;
  border: 1px solid rgba(34, 34, 34, 0.14) !important;
  padding: 14px !important;
  color: #222222 !important;
  box-sizing: border-box !important;
}

.home .fzb-topic-intro {
  text-align: center !important;
  margin: 0 0 10px 0 !important;
}

.home .fzb-eyebrow {
  margin: 0 0 4px 0 !important;
  font-size: 9px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #777777 !important;
}

.home .fzb-topic-intro h2 {
  margin: 0 0 4px 0 !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  color: #222222 !important;
}

.home .fzb-topic-intro p {
  max-width: 620px !important;
  margin: 0 auto !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #555555 !important;
}

.home .fzb-topic-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.home .fzb-topic-tile {
  position: relative !important;
  min-height: 175px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  text-decoration: none !important;
  border: 1px solid rgba(34, 34, 34, 0.14) !important;
  background: #222222 !important;
  box-sizing: border-box !important;
}

.home .fzb-topic-tile img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: saturate(0.92) contrast(0.98) !important;
}

.home .fzb-topic-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.home .fzb-topic-label {
  position: relative !important;
  z-index: 1 !important;
  display: inline-block !important;
  width: auto !important;
  max-width: calc(100% - 24px) !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  text-align: center !important;
  box-sizing: border-box !important;
  color: #222222 !important;
}

.home .fzb-topic-label strong {
  display: block !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  color: #222222 !important;
}

.home .fzb-topic-label em {
  display: block !important;
  margin-top: 3px !important;
  font-style: normal !important;
  font-size: 8px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #555555 !important;
}

/* Kachel-Widget nur auf der Startseite anzeigen */
body:not(.home) #secondary #block-75 {
  display: none !important;
}

/* Kachel-Layout mobil anpassen */
@media (max-width: 991px) {
  .home #secondary #block-75 {
    position: static !important;
    width: auto !important;
    margin-bottom: 24px !important;
  }

  .home #primary,
  .home #secondary {
    padding-top: 0 !important;
  }

  .home .fzb-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .home .fzb-topic-grid {
    grid-template-columns: 1fr !important;
  }

  .home .fzb-topic-tile {
    min-height: 145px !important;
  }
}

/* =========================
   KACHELN AUF MOBIL UNTER FEATURED-BEITRAG
   ========================= */

@media (max-width: 991px) {
  .home #content .container {
    position: relative !important;
    padding-top: 0 !important;
  }

  .home #secondary {
    position: static !important;
    padding-top: 0 !important;
  }

  .home #secondary #block-75 {
    display: block !important;
    position: absolute !important;
    top: 30px !important;
    left: 15px !important;
    width: calc(100% - 30px) !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    z-index: 5 !important;
  }

  .home #primary {
    padding-top: 315px !important;
  }

  .home #fzb-home-tiles {
    background: #ffffff !important;
    border: 1px solid rgba(34, 34, 34, 0.14) !important;
    padding: 12px !important;
    color: #222222 !important;
    box-sizing: border-box !important;
  }

  .home .fzb-topic-intro {
    text-align: center !important;
    margin: 0 0 10px 0 !important;
  }

  .home .fzb-eyebrow {
    margin: 0 !important;
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #777777 !important;
  }

  .home .fzb-topic-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .home .fzb-topic-tile {
    position: relative !important;
    min-height: 112px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    text-decoration: none !important;
    border: 1px solid rgba(34, 34, 34, 0.14) !important;
    background: #222222 !important;
    box-sizing: border-box !important;
  }

  .home .fzb-topic-tile img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .home .fzb-topic-tile::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.22) !important;
    z-index: 1 !important;
  }

  .home .fzb-topic-label {
    position: relative !important;
    z-index: 2 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: calc(100% - 16px) !important;
    padding: 5px 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.92) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    text-align: center !important;
    box-sizing: border-box !important;
    color: #222222 !important;
  }

  .home .fzb-topic-label strong {
    display: block !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #222222 !important;
  }

  .home .fzb-topic-label em {
    display: none !important;
  }
}

/* Widgets (Gravatar) im Sidebar auf Desktop leicht versetzen */
@media (min-width: 992px) {
  .home #gravatar-3 {
    margin-top: 50px !important;
  }

  .single #gravatar-3 {
    margin-top: 12px !important;
  }
}

