/* ============================================
   Auszeit Blog Layout — Single Post
   Content-Spalte in CTA-Box-Breite (680px),
   links sticky TOC, rechts Autorenbox + Share.
   ============================================ */

.az-blog {
  font-family: 'Montserrat', sans-serif;
  color: #444;
  padding: 40px 24px 80px;
}

.az-blog * {
  box-sizing: border-box;
}

/* --- Hero --- */
.az-blog__hero {
  max-width: 880px;
  margin: 0 auto 16px;
  text-align: center;
}

.az-blog__hero-image img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.az-blog__cats {
  margin: 24px 0 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.az-blog__cat {
  display: inline-block;
  background: rgba(178, 180, 12, 0.12);
  color: #8a8c09;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
}

.az-blog__cat:hover {
  background: #B2B40C;
  color: #fff;
}

/* Site-global CSS (Elementor Kit) setzt h1 weiss/55px — hier hart uebersteuern */
.az-blog h1.az-blog__title {
  font-size: 38px !important;
  line-height: 1.25 !important;
  font-weight: 700;
  color: #2c3e50 !important;
  margin: 0 0 20px;
}

.az-blog__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13px;
  color: #666;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.az-blog__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.az-blog__trust-item strong {
  color: #2c3e50;
}

.az-blog__trust-item svg {
  width: 17px;
  height: 17px;
  fill: #B2B40C;
  flex-shrink: 0;
}

/* --- Grid: TOC | Content | Sidebar --- */
.az-blog__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 680px) 300px;
  gap: 48px;
  justify-content: center;
  margin-top: 40px;
}

/* --- TOC (links, sticky) --- */
.az-toc {
  position: sticky;
  top: 130px;
  font-size: 14px;
}

.az-toc__heading,
.az-share__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2c3e50;
  margin-bottom: 14px;
}

.az-toc ul,
.az-toc-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.az-toc__item a {
  display: block;
  padding: 7px 0 7px 14px;
  color: #666;
  text-decoration: none;
  line-height: 1.4;
  border-left: 2px solid #e5e5e5;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.az-toc__item--h3 a {
  padding-left: 28px;
  font-size: 13px;
}

.az-toc__item a:hover {
  color: #2c3e50;
}

.az-toc__item a.is-active {
  color: #8a8c09;
  font-weight: 600;
  border-left-color: #B2B40C;
}

/* --- Mobile-TOC (Accordion) --- */
.az-toc-mobile {
  display: none;
  background: #f7f6f2;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14px;
}

.az-toc-mobile summary {
  font-weight: 700;
  color: #2c3e50;
  cursor: pointer;
}

.az-toc-mobile ul {
  margin-top: 12px;
}

/* --- Content --- */
.az-blog__body {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

.az-blog .az-blog__body h2,
.az-blog .az-blog__body h3 {
  color: #2c3e50 !important;
  line-height: 1.3 !important;
  scroll-margin-top: 140px;
}

.az-blog .az-blog__body h2 {
  font-size: 26px !important;
  margin: 44px 0 16px;
}

.az-blog .az-blog__body h3 {
  font-size: 20px !important;
  margin: 32px 0 12px;
}

.az-blog__body p {
  margin: 0 0 18px;
}

.az-blog__body a {
  color: #8a8c09;
}

.az-blog__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.az-blog__body ul,
.az-blog__body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.az-blog__body li {
  margin-bottom: 8px;
}

.az-blog__body blockquote {
  border-left: 4px solid #B2B40C;
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  color: #555;
  font-style: italic;
}

/* --- Sidebar (rechts, sticky) --- */
.az-blog__sidebar-inner {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.az-author,
.az-share {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #B2B40C;
  text-align: center;
}

.az-author__image {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #B2B40C;
  margin-bottom: 12px;
}

.az-author__name {
  font-size: 17px;
  font-weight: 700;
  color: #2c3e50;
}

.az-author__role {
  font-size: 12px;
  font-weight: 600;
  color: #B2B40C;
  margin: 2px 0 10px;
}

.az-author__bio {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 16px;
}

.az-author__link {
  display: inline-block;
  background: #B2B40C;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.az-author__link:hover {
  background: #9a9c0a;
}

.az-share__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hohe Spezifitaet + !important: globales Site-CSS stylt <button> und <a> eigenwillig
   (Padding, Hintergrund, Radius) — alle 7 Buttons muessen identisch aussehen */
.az-blog .az-share__buttons .az-share__btn,
.az-blog .az-share__buttons button.az-share__copy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none;
  border-radius: 50% !important;
  background: #f2f1ec !important;
  color: #6b6b60 !important;
  box-shadow: none !important;
  line-height: 1 !important;
  font-size: 0 !important;
  cursor: pointer;
  transition: background 0.2s ease;
}

.az-blog .az-share__buttons .az-share__btn svg {
  width: 19px !important;
  height: 19px !important;
  fill: #6b6b60;
  transition: fill 0.2s ease;
}

.az-blog .az-share__buttons .az-share__btn:hover,
.az-blog .az-share__buttons button.az-share__copy:hover {
  background: #B2B40C !important;
}

.az-blog .az-share__buttons .az-share__btn:hover svg {
  fill: #fff;
}

.az-share__copied {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #8a8c09;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .az-blog__grid {
    grid-template-columns: minmax(0, 680px) 300px;
    gap: 40px;
  }

  .az-blog__toc-col {
    display: none;
  }

  .az-toc-mobile {
    display: block;
  }
}

@media (max-width: 900px) {
  .az-blog {
    padding: 24px 18px 60px;
  }

  .az-blog__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .az-blog__sidebar-inner {
    position: static;
  }

  .az-blog h1.az-blog__title {
    font-size: 28px !important;
  }

  .az-blog__trust {
    gap: 8px 18px;
    font-size: 12px;
  }

  .az-blog__trust-item {
    white-space: normal;
  }

  .az-blog__body h2 {
    font-size: 22px;
  }

  .az-blog__body h3 {
    font-size: 18px;
  }
}
