/* PW Hinweis – Warnung */
.pw-warning-box {
  position: relative;
  border: 1px solid #fed7aa;
  border-left: 5px solid #f97316;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #fffaf5 0%, #fff7ed 100%) !important;
  color: #5f2a16 !important;
  padding: 1.25rem 1.35rem 1.25rem 4.35rem !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  line-height: 1.65;
}

.pw-warning-box > strong:first-child {
  display: block;
  margin: 0 0 .2rem;
  color: #c2410c;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pw-warning-box > strong:first-child > i {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  font-size: 1.05rem;
}

.pw-warning-box > strong:nth-of-type(2) {
  display: block;
  margin: 0 0 .7rem;
  color: #431407;
  font-size: 1.08rem;
  line-height: 1.4;
}

.pw-warning-box .fa-circle-check,
.pw-warning-box .fa-ban,
.pw-warning-box .fa-shield-halved {
  width: 1.15em;
  margin-right: .25em;
  color: #c2410c;
}

.pw-warning-box a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  .pw-warning-box {
    padding: 1rem 1rem 1rem 3.9rem !important;
  }

  .pw-warning-box > strong:first-child > i {
    top: .95rem;
    left: .95rem;
  }
}

/* =========================================================
   PW Bild – Praxisfoto mit Caption
   ========================================================= */

.pw-article-figure {
  --pw-figure-accent: #64748b;
  width: 100%;
  max-width: 100%;
  margin: 1.8rem auto 2.2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.pw-article-figure.theme-knipex {
  --pw-figure-accent: #e3000b;
}

.pw-article-figure .pw-article-figure-img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 760px;
  margin: 0 !important;
  object-fit: contain;
  background: #f8fafc;
}

.pw-article-figure .pw-article-figcaption {
  position: relative;
  display: block;
  margin: 0 !important;
  padding: 0.85rem 1rem 0.95rem;
  border-top: 3px solid var(--pw-figure-accent);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #475569;
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.55;
  text-align: left;
}

.pw-article-figure .pw-article-figcaption::before {
  content: "Praxisfoto";
  display: inline-block;
  margin-right: 0.55rem;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pw-figure-accent) 10%, white);
  color: var(--pw-figure-accent);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: 0.08em;
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
  .pw-article-figure .pw-article-figcaption::before {
    background: #f8fafc;
  }
}

@media (max-width: 768px) {
  .pw-article-figure {
    margin-top: 1.4rem;
    margin-bottom: 1.8rem;
    border-radius: 12px;
  }

  .pw-article-figure .pw-article-figure-img {
    max-height: 620px;
  }

  .pw-article-figure .pw-article-figcaption {
    padding: 0.75rem 0.85rem 0.85rem;
    font-size: 0.88rem;
  }
}