/* Keep copy readable independently of the brightness of the photograph. */
.balkontype-list-item,
.work-list-item:not(:first-child),
.heading {
  isolation: isolate;
  background-color: #17232e;
}
.balkontype-list-item::before,
.work-list-item:not(:first-child)::before,
.heading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 23, 34, .64), rgba(12, 23, 34, .86));
}
.balkontype-list-item-inner {
  height: 100%;
}
.balkontype-list-item-inner h3,
.balkontype-list-item-inner p,
.work-list-item:not(:first-child) h5,
.work-list-item:not(:first-child) p {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.balkontype-list-item-inner p {
  line-height: 1.5;
}
.balkontype-list-item-inner .border-btn {
  margin-top: auto;
  background: #fff;
  border-color: #fff;
  color: #17232e;
  font-weight: 600;
  text-shadow: none;
}
.balkontype-list-item:hover .border-btn {
  background: #e21f25;
  border-color: #e21f25;
  color: #fff;
}
.balkontype-list-item:focus-visible {
  outline: 3px solid #17232e;
  outline-offset: 4px;
}
.work-list-item:not(:first-child) .work-list-item-number {
  background: rgba(0, 0, 0, .5);
}
.heading {
  position: relative;
}
.heading-breadcrumbs,
.heading-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.heading-breadcrumbs {
  border-bottom-color: rgba(255, 255, 255, .35);
}
/* Replace the older overlay on blog and promotion pages with the same treatment. */
.single .heading::after {
  display: none;
}
.footer-top-phone span {
  opacity: 1;
  color: #535b66;
}
