.pub-detail.type-departments .pub-detail-layout {
  display: block;
  width: 100%;
}
.type-departments .dept-title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 25px);
  margin-top: clamp(13px, 2vw, 23px);
}
.type-departments .dept-title h1 { min-width: 0; margin: 0; }
.type-departments .dept-mark {
  width: clamp(50px, 6vw, 77px);
  aspect-ratio: 1;
  flex: none;
  object-fit: contain;
  padding: 4px;
  border-radius: 20%;
  background: white;
}
.type-departments .pub-rich { max-width: 76ch; }
.type-departments .pub-gallery { max-width: 640px; }
.dept-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  align-items: start;
  margin-block: clamp(18px, 2.2vw, 30px);
}
.dept-section {
  --dept-line: color-mix(in srgb, var(--brand-mid) 18%, white);
  min-width: 0;
  border: 1px solid var(--dept-line);
  border-radius: 18px;
  padding: clamp(16px, 2.2vw, 30px);
  color: var(--brand-ink);
  background: white;
  box-shadow: 0 5px 20px -16px var(--brand-mid);
}
.dept-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font: 700 clamp(20px, 2vw, 28px)/1.25 BmcDisplay, Arial, sans-serif;
}
.dept-section h2 svg {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 9px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-pale);
  color: var(--brand-mid);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dept-section ul { margin: 13px 0 0; padding: 0; list-style: none; }
.dept-section li + li { border-top: 1px solid var(--dept-line); }
.dept-section .dept-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 3px;
  color: var(--brand-ink);
  font-weight: 600;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.dept-section li a:hover { color: var(--brand-mid); text-decoration: underline; text-underline-offset: 4px; }
.dept-section li a:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 2px; border-radius: 5px; }
.dept-section img { flex: none; width: 48px; height: 48px; border-radius: 5px; object-fit: contain; }
.dept-section .dept-link-arrow { margin-inline-start: auto; color: var(--brand-mid); font: 20px/1 Arial,sans-serif; }
.dept-section p { margin: 14px 0 0; color: #51616a; font-size: 14px; line-height: 1.6; }
@media (max-width: 700px) {
  .dept-sections { grid-template-columns: 1fr; }
  .type-departments .dept-mark { width: 45px; }
}

.dept-entry .dept-profession { display: block; margin-top: .15em; font-size: .88em; line-height: 1.45; }
