/*
 * Directory Goo - Mobile Footer V1
 * Project: DG-UI-001
 *
 * Scope: Mobile only (max-width: 767px)
 * Preserve desktop/tablet design, branding and CMS.
 */

@media (max-width: 767px) {

  /* Blue footer: localization controls */

  footer .footer-top .links-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  footer .footer-top .links-block > div,
  footer .footer-top .links-block .notranslate {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  footer .footer-top .links-block [class*="-control"] {
    max-width: 100%;
    min-width: 0;
  }

  footer .footer-top .links-block [class*="-valueContainer"] {
    min-width: 0;
  }

  footer .footer-top .links-block [class*="-singleValue"],
  footer .footer-top .links-block [class*="-placeholder"] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  footer .footer-top .links-block [class*="-menu"] {
    max-width: 100%;
    z-index: 20;
  }

  footer .footer-top .links-heading {
    display: inline-block !important;
    margin-bottom: 4px;
  }

  /* Green footer: CMS-managed content */

  footer .footer-bottom .dg-footer-bottom-v4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0 auto;
    padding: 20px 16px;

    color: #fff;
    text-align: center;
    box-sizing: border-box;
  }

  footer .footer-bottom .dg-footer-support,
  footer .footer-bottom .dg-footer-legal,
  footer .footer-bottom .dg-footer-copy,
  footer .footer-bottom .dg-footer-global {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    text-align: center;
    overflow-wrap: anywhere;
  }

  footer .footer-bottom .dg-footer-support {
    line-height: 1.8;
    font-weight: 600;
  }

  footer .footer-bottom .dg-footer-support a,
  footer .footer-bottom .dg-footer-legal a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  footer .footer-bottom .dg-footer-legal {
    line-height: 1.9;
    white-space: normal;
  }

  footer .footer-bottom .dg-footer-legal .dg-separator {
    display: inline-block;
    margin: 0 7px;
    opacity: 0.7;
  }

  footer .footer-bottom .dg-footer-copy,
  footer .footer-bottom .dg-footer-global {
    font-size: 12px;
    line-height: 1.7;
  }

  footer .footer-bottom .dg-footer-global {
    font-style: italic;
  }
}
