/* Footer: no brand blurb; contact blocks in a row */
.page-header-illustration .footer-brand > p,
.footer-brand > p {
  display: none !important;
}

.page-header-illustration .footer-grid,
.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) !important;
  gap: 28px 40px !important;
  align-items: start;
}

.page-header-illustration .footer-contacts,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.page-header-illustration .footer-contacts > h4,
.footer-contacts > h4 {
  margin: 0;
}

.page-header-illustration .footer-contacts__row,
.footer-contacts__row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px 32px;
}

.page-header-illustration .footer-contacts__item,
.footer-contacts__item {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.page-header-illustration .footer-contacts__label,
.footer-contacts__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.page-header-illustration .footer-contacts__value,
.footer-contacts__value {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  line-height: 1.35;
  white-space: nowrap;
}

.page-header-illustration .footer-contacts__item:nth-child(3) .footer-contacts__value,
.footer-contacts__item:nth-child(3) .footer-contacts__value {
  white-space: normal;
  max-width: 220px;
}

.page-header-illustration .footer-contacts__value[href],
.footer-contacts__value[href] {
  color: #fff;
}

.page-header-illustration .footer-contacts__hours,
.footer-contacts__hours {
  flex: 0 0 auto;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .page-header-illustration .footer-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .page-header-illustration .footer-contacts__row,
  .footer-contacts__row {
    flex-direction: column;
    gap: 14px;
  }

  .page-header-illustration .footer-contacts__value,
  .footer-contacts__value {
    white-space: normal;
  }

  .page-header-illustration .footer-contacts__item:nth-child(3) .footer-contacts__value,
  .footer-contacts__item:nth-child(3) .footer-contacts__value {
    max-width: none;
  }
}

/* Footer logo — match dark-footer brand lockup */
.footer-brand .logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: #fff !important;
}

.footer-brand .logo > img {
  width: 48px !important;
  height: 58px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 0 0 auto;
}

.footer-brand .logo-title-line {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 0 !important;
  line-height: 1 !important;
}

.footer-brand .logo-text-region {
  display: block !important;
  margin: 0 0 2px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  line-height: 1.1 !important;
}

.footer-brand .logo-text,
.footer-brand .footer-logo-text {
  margin: 0 !important;
  color: #fff !important;
  font-family: "PT Serif", Georgia, "Times New Roman", serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  line-height: 1.05 !important;
}

.footer-brand .logo-subtitle2 {
  margin: 6px 0 0 !important;
  max-width: 11.5em;
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

/* Keep contacts readable in a left-to-right row on dark footer */
.footer-contacts {
  justify-self: stretch !important;
  text-align: left !important;
}

.footer-contacts > h4 {
  text-align: left !important;
}

.footer-brand .logo-title-line {
  align-items: flex-start !important;
}

