/* PressureHub – zentraler Related-Content-Block
 * Eine globale Layoutdefinition für Produkt, Kurs, Magazin und Wissen.
 */
.dt-container.ph-related-shell{
  box-sizing:border-box;
  padding-left:0;
  padding-right:0;
  margin-top:32px;
  margin-bottom:32px;
}
.ph-related-card{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box;
  border:1px solid #d5e2e8;
  border-radius:20px;
  padding:24px;
  background:#fff;
  margin:0;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  grid-template-areas:
    "head head"
    "posts courses"
    "products products";
  gap:22px;
}
.ph-related-head{grid-area:head;min-width:0}
.ph-related-kicker{display:block;text-transform:uppercase;letter-spacing:.12em;font-weight:800;font-size:12px;color:#00a7b5;margin-bottom:6px}
.ph-related-head h2{margin:0;color:#003661}
.ph-related-head p{margin:6px 0 0}
.ph-related-group{min-width:0;margin:0}
.ph-related-group-posts{grid-area:posts}
.ph-related-group-courses{grid-area:courses}
/* Beiträge und Kurse teilen sich dieselbe Grid-Zeile. Beide Gruppen strecken
 * ihr Kartenraster auf die volle Zeilenhöhe, damit die Karten gleich hoch sind. */
.ph-related-group-posts,
.ph-related-group-courses{display:grid;grid-template-rows:auto minmax(0,1fr)}
.ph-related-group-posts .ph-related-grid,
.ph-related-group-courses .ph-related-grid{height:100%;align-items:stretch}
.ph-related-group-posts .ph-related-item,
.ph-related-group-courses .ph-related-item{height:100%;box-sizing:border-box}
.ph-related-group-products{grid-area:products}
.ph-related-group h3{color:#003661;margin:0 0 12px;font-size:18px}
.ph-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ph-related-group-products .ph-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.ph-related-item{border:1px solid #d5e2e8;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}
.ph-related-image{display:block;height:150px;background:#f2f7f9;overflow:hidden}
.ph-related-image img{width:100%;height:100%;object-fit:cover;display:block}
.ph-related-group-products .ph-related-image img{object-fit:contain}
.ph-related-body{padding:12px;display:flex;flex:1;flex-direction:column;min-width:0}
.ph-related-type{font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:#003661}
.ph-related-body h4{margin:6px 0 5px;font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.ph-related-body h4 a{color:#00a7b5;text-decoration:none}
.ph-related-body p{margin:0 0 9px;font-size:12px;line-height:1.38;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ph-related-link{margin-top:auto;font-size:12px;font-weight:800;color:#00a7b5;text-decoration:none}
.ph-related-debug{font:11px/1.4 monospace;border-top:1px dashed #9db5c0;padding:8px 12px;background:#f8fbfc}
.ph-related-debug-context{grid-column:1/-1;border:1px dashed #9db5c0}

@media(max-width:900px){
  .ph-related-card{padding:20px;gap:18px}
  .ph-related-group-posts .ph-related-item:nth-child(n+2),
  .ph-related-group-courses .ph-related-item:nth-child(n+2){display:none}
  .ph-related-group-posts .ph-related-grid,
  .ph-related-group-courses .ph-related-grid{grid-template-columns:minmax(0,1fr)}
  .ph-related-group-products .ph-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ph-related-group-products .ph-related-item:nth-child(n+3){display:none}
  .ph-related-image{height:135px}
  .ph-related-body{padding:10px}
  .ph-related-group h3{font-size:16px}
}
@media(max-width:620px){
  .ph-related-card{padding:14px;gap:14px 10px;border-radius:16px}
  .ph-related-group h3{font-size:14px;line-height:1.2;margin-bottom:8px}
  .ph-related-group-products .ph-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ph-related-image{height:105px}
  .ph-related-body{padding:8px}
  .ph-related-body h4{font-size:12px;line-height:1.2}
  .ph-related-body p{font-size:11px;line-height:1.3;-webkit-line-clamp:2}
  .ph-related-link{font-size:11px}
  .ph-related-type{font-size:8px}
  .ph-related-head h2{font-size:22px}
  .ph-related-head p{font-size:12px}
  .ph-related-kicker{font-size:10px}
}
