/* Easy Table of Contents adjustments. */
.ez-toc-counter nav ul li a::before {
  content: none !important;
}

.dp-content li a.ez-toc-link {
  text-indent: 2.5rem;
}

.dp-content div#ez-toc-container ul li a {
  font-size: 1.8rem;
  font-weight: 700;
}

.dp-content ul li::before {
  left: 0.5rem;
}

#ez-toc-container {
  width: 100% !important;
  box-sizing: border-box;
}

/* Keep article titles distinct from category badges and contain fallback logos. */
.page-news-detail .dp-post-ad {
  margin-top: 2.4rem;
}
.page-news-detail .dp-post-ad a,
.page-news-detail .dp-post-ad img {
  display: block;
  width: 100%;
}
.page-news-detail .dp-post-ad img {
  height: auto;
  border-radius: .8rem;
}
.news-item .news-item-category {
  margin: 0 0 .8rem;
  font-size: 1.3rem;
  line-height: 1.5;
}

.news-item .news-item-category-link {
  color: var(--dp-brand-primary);
}

.news-item-thumb .dp-image-fallback,
.ser-item-thumb .dp-image-fallback,
.pj-item-thumb .dp-image-fallback,
.project-img .dp-image-fallback {
  object-fit: contain !important;
  background: #f3f2fa;
  padding: 1.6rem;
  box-sizing: border-box;
}

.social > p.t-16 {
  color: #000;
}

/* Default paragraph color; component-specific colors take priority. */
body p {
  color: #000;
}

.news-item .news-item-tt:hover {
  color: #ED3438;
}
.news-item .news-item-tt {
  font-size: 1.2rem !important;
}
.news-item-author {
  flex-wrap: nowrap;
}

.news-item-author .info {
  flex: 1;
  min-width: 0;
}

.news-item-author .info .name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-item-author .info .date {
  flex-shrink: 0;
  white-space: nowrap;
}
.page-contact .contact-info .heading > p {
  color: #fff;
}
