.dm-footer .dm-footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.dm-footer .dm-footer-brand > * { margin-bottom: 0 !important; }
.dm-footer .dm-footer-brand p { max-width: 600px; line-height: 1.7; }
.dm-footer .dm-footer-navigation {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 12px;
}
.dm-footer .dm-footer-category { min-width: 0; }
.dm-footer .dm-footer-category h6 { line-height: 1.6; }
.dm-footer .dm-footer-category a { overflow-wrap: anywhere; }
.dm-footer .dm-footer-ribbon {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  padding: 24px 0;
}
.dm-footer .dm-footer-ribbon__left {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}
.dm-footer .dm-footer-ribbon__right { display: contents; }
.dm-footer .dm-footer-badges,
.dm-footer .dm-footer-pay { justify-content: center; flex-wrap: wrap; }
.dm-footer .dm-footer-langpill { justify-content: center; align-self: center; }
.dm-footer .dm-footer-ai-row { padding: 20px 0; }
@media (min-width: 1200px) {
  .dm-footer .dm-footer-category h6 { min-height: 44px; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .dm-footer .dm-footer-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
  .dm-footer .dm-footer-brand { grid-template-columns: 1fr auto; gap: 20px; }
  .dm-footer .dm-footer-brand p { grid-row: 2; grid-column: 1 / -1; }
  .dm-footer .dm-footer-social { grid-column: 2; grid-row: 1; }
}
@media (max-width: 767.98px) {
  .dm-footer .dm-footer-brand { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; padding-bottom: 24px; }
  .dm-footer .dm-footer-navigation { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dm-footer .dm-footer-ribbon__left { flex-direction: column; gap: 12px; }
}
