/* Data Center Engineering Lab section styles (layered on editorial.css) */

.lab-label {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.05em 0.4em;
  border-radius: 4px;
  vertical-align: 0.08em;
  white-space: nowrap;
}
.lab-label-fact        { background: #e3f2e8; color: #1c5c34; }
.lab-label-record      { background: #e3f2e8; color: #1c5c34; }
.lab-label-modeled     { background: #e8eef7; color: #1f4d84; }
.lab-label-target      { background: #efe9f7; color: #4f3a82; }
.lab-label-sensitivity { background: #fdf1df; color: #8a5b13; }
.lab-label-study       { background: #e8eef7; color: #1f4d84; }
.lab-label-hold        { background: #fbe9e7; color: #8f3225; }

.lab-series-note {
  max-width: 62ch;
  font-size: 0.95rem;
  color: #b9cbd5;
  margin-top: 0.75rem;
}
.ed-article-header .lab-series-note a { color: inherit; }

.lab-cluster { margin: 2.5rem 0; }
.lab-cluster > h2 { margin-bottom: 1rem; }
.lab-cluster > h2 a { text-decoration: none; color: inherit; }
.lab-cluster > h2 a:hover { text-decoration: underline; }

.lab-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.editorial-main .lab-item a,
.editorial-main .lab-item a:hover,
.lab-item a {
  text-decoration: none;
}
.lab-item a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "id title" "hook hook";
  gap: 0.15rem 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #d8e0e6;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.lab-item a:hover { border-color: #9db4c2; box-shadow: 0 2px 8px rgba(6, 23, 34, 0.08); }
.lab-item-id {
  grid-area: id;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b7383;
  align-self: baseline;
  padding-top: 0.15rem;
}
.lab-item-title { grid-area: title; font-weight: 700; }
.lab-item-hook  { grid-area: hook; font-size: 0.9rem; color: #47606f; }

.lab-figure {
  margin: 1.5rem 0 2rem;
}
.lab-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8e0e6;
  border-radius: 10px;
  background: #fff;
}
.lab-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #5b7383;
}
.container > .lab-figure {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.lab-article blockquote {
  border-left: 3px solid #d8e0e6;
  margin: 1.5rem 0 0;
  padding: 0.25rem 0 0.25rem 1rem;
  font-size: 0.85rem;
  color: #5b7383;
}
.lab-article hr { border: 0; border-top: 1px solid #d8e0e6; margin: 2rem 0 0.5rem; }

@media (max-width: 640px) {
  .lab-item a { grid-template-columns: 1fr; grid-template-areas: "id" "title" "hook"; }
}
