.footer {
  overflow: hidden;
}

@media (min-width: 1200px) {
  .footer {
    margin-top: 1.375rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .footer {
    margin-top: 2.75rem;
  }
}

@media (max-width: 899px) {
  .footer {
    margin-top: 1.25rem;
  }
}

@media (max-width: 899px) {
  .footer__container {
    padding: unset;
  }
}

.footer-contacts__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (max-width: 899px) {
  .footer-contacts__wrapper {
    align-items: center;
  }
}

@media (max-width: 1150px) {
  .footer-contacts {
    gap: 2rem !important;
    width: 100%;
    flex-wrap: wrap;
  }
}



.footer__wrapper {
  position: relative;
  z-index: 1;
  background-color: var(--color-bg-secondary);
  padding: 20px;
}

@media (min-width: 1200px) {
  .footer__wrapper {
    padding: 1.375rem 2rem 1rem;
  }
}

.footer__wrapper > * + * {
  margin-top: 2rem;
}

.footer__header {
  position: relative;
  z-index: 1;
}

.footer__main {
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer__bottom {
  border-top: 1px solid var(--color-accent);
  padding-top: 2rem;
}

@media (max-width: 899px) {
  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 1400px) {
  .footer-socials--icons,
  .footer-socials--logos {
    height: 50px;
  }
}

.footer__bg {
  position: absolute;
  margin: 0;
  top: -50px;
  right: -75px;
  z-index: 0;
  pointer-events: none;
}

.footer-contacts__link-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-contacts__link-wrapper svg {
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .footer__bg {
    width: 100%;
  }
}

/*
 * The crest watermark is a faint shape in the light theme, but its white
 * parts light up on a dark page and sit right behind the column headings,
 * so the dark theme turns it down to a trace.
 */
.footer__bg {
  --footer-watermark-opacity: 1;
}

html[data-theme="dark"] .footer__bg {
  --footer-watermark-opacity: 0.3;
}

.footer__bg img,
.footer__bg svg {
  width: 85%;
  height: auto;
  opacity: var(--footer-watermark-opacity);
}

@media (min-width: 900px) {
  .footer__logo {
    max-width: 20.3125rem;
  }
}

@media (max-width: 899px) {
  .footer__logo {
    max-width: 13.3125rem;
  }
}

.footer__logo img {
  width: 100%;
  height: auto;
}

/* Logo twins, see site-footer.php: blue wordmark on light, white on dark. */
.footer__logo .logo-link__img--dark,
html[data-theme="dark"] .footer__logo .logo-link__img--light {
  display: none;
}

html[data-theme="dark"] .footer__logo .logo-link__img--dark {
  display: block;
}

.footer-navigation {
  font-weight: 400;
  line-height: 115.384%;
}

@media (min-width: 900px) {
  .footer-navigation {
    display: grid;
    gap: 2em;
    grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
    font-size: 0.75rem;
  }
}

@media (min-width: 900px) and (min-width: 1710px) {
  .footer-navigation {
    gap: 0.769em;
    font-size: 0.8125rem;
  }
}

@media (max-width: 899px) {
  .footer-navigation {
    font-size: 0.875rem;
  }
}

@media (max-width: 899px) {
  .footer-navigation > * + * {
    border-top: 1px solid var(--color-border-strong);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}

.footer-navigation__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  line-height: 116%;
  font-weight: 400;
  border: unset;
  padding: unset;
  background-color: transparent;
  text-align: left;
  font-weight: 500;
  color: var(--color-link);
}

@media (min-width: 1200px) {
  .footer-navigation__title {
    font-size: 1.375rem;
  }
}

@media (min-width: 1200px) and (min-width: 1540px) {
  .footer-navigation__title {
    font-size: 1.5rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .footer-navigation__title {
    font-size: 1.375rem;
  }
}

@media (max-width: 899px) {
  .footer-navigation__title {
    font-size: 1.0625rem;
  }
}

@media (min-width: 900px) {
  .footer-navigation__title {
    cursor: default;
  }
}

@media (max-width: 899px) {
  .footer-navigation__title {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

.footer-navigation__title > * + * {
  margin-left: 2.5rem;
}

@media (min-width: 900px) {
  .footer-navigation__arrow {
    display: none;
  }
}

.footer-navigation__arrow svg {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
}

.footer-navigation__arrow svg._active {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

@media (min-width: 900px) {
  .footer-navigation__inner:not(._last) {
    margin-top: 1.75rem;
  }
}

/*
 * Phone accordion. GSAP animated the list's height while this file animated
 * its margin over a different time, both relaying out the page on every
 * frame, so opening stuttered. Now one transition of the grid row (0fr → 1fr)
 * with the margin and opacity in step; main.js only toggles _active. A closed
 * list is also hidden, so the keyboard skips its links.
 */
@media (max-width: 899px) {
  .footer-navigation__inner:not(._last) {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      grid-template-rows 0.3s ease,
      margin-top 0.3s ease,
      opacity 0.2s ease,
      visibility 0s linear 0.3s;
  }

  .footer-navigation__inner:not(._last) > * {
    min-height: 0;
    overflow: hidden;
  }

  .footer-navigation__item._active .footer-navigation__inner:not(._last) {
    grid-template-rows: 1fr;
    margin-top: 1rem;
    opacity: 1;
    visibility: visible;
    transition:
      grid-template-rows 0.3s ease,
      margin-top 0.3s ease,
      opacity 0.25s ease 0.05s,
      visibility 0s;
  }

  .footer-navigation__item._active .footer-navigation__arrow svg {
    transform: rotate(180deg);
  }
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .footer-navigation__inner:not(._last),
  .footer-navigation__item._active .footer-navigation__inner:not(._last),
  .footer-navigation__arrow svg {
    transition: none;
  }
}

/* The three buttons under the lists sat 16px apart on a phone. */
@media (max-width: 899px) {
  .footer-navigation__item--last .footer-list > * + * {
    margin-top: 0.625rem;
  }
}

@media (max-width: 1084px) {
  .footer-navigation__item--last {
    grid-column: 1/-1;
  }

  .extras-list {
    justify-content: center;
  }

  .extras-list__item {
    flex: 0 1 250px !important;
  }
}

.footer-list > * + * {
  margin-top: 0.75rem;
}

.footer-list__item {
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  color: var(--color-text-primary);
  width: 100%;
}

/* The footer's link buttons keep their own lighter look (the owner's choice,
   2026-10-24): a thin light-blue line, words of normal weight in the link
   colour, the icon after them, and under the pointer the blue sliding in from
   the left. They stay .btn for size and focus; only the look differs. */
.footer-list .footer-list__item.btn {
  --btn-bg: var(--color-bg-primary);
  --btn-fg: var(--color-link);
  --btn-line: var(--color-accent);
  min-height: 0;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(var(--color-blue-100), var(--color-blue-100)) no-repeat 0 0 / 0 100%, var(--btn-bg);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.footer-list .footer-list__item.btn > span {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}

.footer-list .footer-list__item.btn svg {
  width: 24px;
  height: 24px;
}

/* The icons (the menu item's «icon» field and the feedback one) are drawn in
   lines with no colour of their own; they take the words'. */
.footer-list__item.btn svg path {
  stroke: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .footer-list .footer-list__item.btn:hover {
    --btn-bg: var(--color-bg-primary);
    --btn-fg: var(--color-white);
    --btn-line: var(--color-blue-100);
    background-size: 100% 100%, auto;
  }
}

@media (max-width: 899px) {
  .footer-list .footer-list__item.btn {
    font-size: 0.875rem;
  }

  .footer-list .footer-list__item.btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-list .footer-list__item.btn {
    transition: none;
  }
}

/*
 * The mail button split in two (site-footer.php): the new mail takes the width
 * and the button's usual look; the old webmail is a square part on its right
 * with an archive icon alone, there for whoever still needs it without drawing
 * the eye. Its words are a hint that rises above it under the pointer, on
 * keyboard focus, and on a touch screen after the first tap (footer.js adds
 * _tip there). The two parts share one line where they meet.
 */
.footer-mail {
  --mail-old-w: 70px;
  display: flex;
}

.footer-list .footer-list__item.btn.footer-mail__new {
  flex: 1 1 auto;
  min-width: 0;
  padding-inline: 0.75rem;
  white-space: nowrap;
}

.footer-list .footer-list__item.btn.footer-mail__old {
  position: relative;
  flex: none;
  /* The width puts the archive icon at the middle of the part, right above
     the icons of the two buttons below, which end their centred words. On a
     wide screen those icons sit about 35px from the edge. */
  width: var(--mail-old-w);
  margin-left: -1px;
  padding: 0;
}

/* White words on the blue a footer button fills with under the pointer.
   It hangs from the button's right edge, flush with the column, as a hint
   centred over the icon stuck out past the buttons; its arrow points at the
   icon, half the part's width from that edge. */
.footer-list .footer-list__item.btn.footer-mail__old > .footer-mail__tip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 2;
  display: block;
  padding: 0.375rem 0.75rem;
  background: var(--color-blue-100);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* The little arrow under the hint, pointing at the icon. */
.footer-mail__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: calc(var(--mail-old-w) / 2 - 6px);
  border: 6px solid transparent;
  border-top-color: var(--color-blue-100);
}

.footer-list .footer-list__item.btn.footer-mail__old:focus-visible > .footer-mail__tip,
.footer-list .footer-list__item.btn.footer-mail__old._tip > .footer-mail__tip {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-list .footer-list__item.btn.footer-mail__old:hover > .footer-mail__tip {
    opacity: 1;
    transform: none;
  }

  /* The hovered part draws its whole line over the shared one. */
  .footer-mail > .btn:hover {
    z-index: 1;
  }

  .footer-mail > .footer-mail__new:hover {
    position: relative;
  }
}

/* On a phone the buttons below are the full width and their icons sit far in
   from the edge; a part wide enough to line up with them looked too big, so
   here it is a compact square-ish part and the icons are not lined up. */
@media (max-width: 899px) {
  .footer-mail {
    --mail-old-w: 56px;
  }
}

/*
 * The footer links are small text with 12px between them, too thin a target
 * for a finger. Padding widens what can be tapped and the equal negative
 * margin gives the space back, so nothing moves; 6px each way meets the
 * neighbour's area without overlapping it.
 */
.footer-list__item:not(.btn) {
  display: inline-block;
  padding-block: 6px;
  margin-block: -6px;
}

html:not(.v-mobile) .footer-list__item:hover {
  color: var(--color-link);
}

.footer-list__item:focus-visible {
  color: var(--color-link);
}

@media (min-width: 900px) {
  .footer-contacts {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
    width: 100%;
  }
}

@media (max-width: 899px) {
  .footer-contacts > * + * {
    margin-top: 1.5rem;
  }
}

.footer-contacts__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 140%;
  width: 100%;
}

@media (min-width: 900px) {
  .footer-contacts__item {
    max-width: 320px;
  }
}

.footer-contacts__item > * + * {
  margin-left: 0.65rem;
}

.footer-contacts__label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-accent);
}

.footer-contacts__label svg,
.footer-contacts__label img {
  width: 18px;
  height: 18px;
}

.footer-contacts__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contacts__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.footer-contacts__desc {
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
}

.footer-contacts__link {
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  padding: 1px 0;
  min-height: 22px;
}

html:not(.v-mobile) .footer-contacts__link:hover {
  color: var(--color-link);
}

.footer-contacts__link:focus-visible {
  color: var(--color-link);
}

.footer-contacts__link span {
  display: block;
}

.footer-socials {
  display: flex;
}

.footer-socials > * + * {
  margin-left: 1rem;
}

.footer-socials li {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.footer-socials__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 2rem;
  height: 2rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer-socials__link svg,
.footer-socials__link img {
  width: 100%;
  height: auto;
}

.footer-socials__link svg path {
  /* The icons come from an ACF field with fill="black" baked in; CSS outranks the attribute. */
  fill: var(--color-text-primary);
  -webkit-transition: fill 0.3s ease;
  transition: fill 0.3s ease;
}

html:not(.v-mobile) .footer-socials__link:hover svg path {
  fill: var(--color-accent);
}

.footer-socials__link:focus-visible svg path {
  fill: var(--color-accent);
}

/*
 * Touch screens. The phone numbers and addresses were 22px-tall targets 6px
 * apart; each row is now 32px with no gap, a few pixels more per row. The
 * section headings and the social icons keep their look and get a 44px
 * target: the padding that grows it is taken back by a negative margin, so
 * nothing moves.
 */
@media (pointer: coarse) {
  .footer-contacts__content {
    gap: 0;
  }

  .footer-contacts__link {
    min-height: 32px;
  }

  /* The section headings open their lists; a 23px button in a 55px row. The
     margin takes the padding back, so the rows keep their spacing. */
  .footer-navigation__title {
    padding: 10px 0;
    margin: -10px 0;
  }

  .footer-socials__link {
    width: 44px;
    height: 44px;
    padding: 6px;
    margin: -6px;
  }
}

.footer-socials__wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 1rem;
}

.footer-socials__item--logo {
  width: 45px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.footer-socials__item--logo a {
  width: 45px;
  height: 45px;
}

.footer-socials__item--logo {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-socials__item--logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* The association logos are wide; in a 45px square they came out 45×18 on a
   phone, too small to read. There they keep their own width at 28px high. */
@media (max-width: 899px) {
  .footer-socials__item--logo,
  .footer-socials__item--logo a {
    width: auto;
    height: 28px;
  }

  .footer-socials__item--logo img {
    height: 28px;
    max-width: 120px;
  }
}

@media (max-width: 899px) {
  .footer {
    margin-top: 0;
  }
}

.footer-socials--logos {
  display: flex;
  gap: 1rem;
  margin: 0;
}

.footer-socials--logos > * {
  margin: 0 !important;
}

details[open] p {
  margin: 1.2rem 0;
}

/*
 * Reading progress bar. It is always full width and scroll.js scales it
 * along X: a transform is done by the compositor, where animating width
 * relaid out the page on every scroll step.
 */
#scrollIndicator {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background-color: var(--color-blue-100);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}

@media (max-width: 480px) {
  #scrollIndicator {
    height: 3px;
    background-color: var(--color-blue-100);
  }
}

@media (min-width: 481px) and (max-width: 1199px) {
  #scrollIndicator {
    height: 4px;
    background-color: var(--color-blue-100);
  }
}

@media (min-width: 1200px) and (max-width: 1920px) {
  #scrollIndicator {
    height: 5px;
  }
}

@media (min-width: 1921px) {
  #scrollIndicator {
    height: 6px;
  }
}



@media (min-width: 900px) {
  .footer-navigation__item--contacts .footer-navigation__title {
    display: none !important;
  }
  .footer-contacts__main-wrapper {
    display: grid;
    gap: 2em;
    grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
    width: 100%;
  }
}

@media (max-width: 899px) {
  .footer-navigation__item--contacts .footer-navigation__title {
    display: flex !important;
  }
  .footer-contacts__main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}


/* Newspaper covers: the cover drawn for the dark theme replaces the original there
   (site-footer.php, field «Обкладинка для темної теми»). The dark one is lazy, so a
   light-theme visit never downloads it. Two classes: section-categories.css,
   loaded after this file, shows every .categories-list__logo. */
.categories-list__logo.categories-list__logo--dark,
html[data-theme="dark"] .categories-list__logo--light {
  display: none;
}

html[data-theme="dark"] .categories-list__logo--dark {
  display: block;
}

/* section-categories.css gives every cover a white ground; the dark twin is
   drawn on a transparent one and keeps it. */
.categories-list__logo.categories-list__logo--dark {
  background-color: transparent;
}


/* The ZP Space app under the newspaper covers (template-parts/layout/footer/
   app-promo.php), laid out as the owner's «download-card»: the icon on the
   left; the name, a line and the badges on the right, then a bare QR icon
   that opens the code in a popover. The badges are smaller than their 40px
   so both fit the footer column in one line. */
.footer-app {
  --footer-app-badge: 28px;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.footer-app__icon {
  flex: none;
  width: 72px;
  height: 72px;
}

.footer-app__body {
  min-width: 0;
}

.footer-app__title,
.footer-app__text {
  margin: 0;
}

.footer-app__title {
  color: var(--color-text-primary);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.1;
}

.footer-app__text {
  margin-top: 0.125rem;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.footer-app__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.375rem;
}

.footer-app__store {
  display: block;
  flex: none;
  line-height: 0;
}

.footer-app__badge {
  width: auto;
  height: var(--footer-app-badge);
}

/* White badges on the light theme, black on the dark one; the dark twin is
   lazy, so a light-theme visit never downloads it. */
.footer-app__badge--dark,
html[data-theme="dark"] .footer-app__badge--light {
  display: none;
}

html[data-theme="dark"] .footer-app__badge--dark {
  display: block;
}

/* Not in the App Store yet: the badge is faded, as an inactive control. */
.footer-app__store--soon {
  opacity: 0.45;
  cursor: default;
}

/* Only the icon: no frame, the badges' height for an easy tap. */
.footer-app__qr-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--footer-app-badge);
  height: var(--footer-app-badge);
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-app__qr-btn:hover {
    color: var(--color-link);
  }
}

.footer-app__store:focus-visible,
.footer-app__qr-btn:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

/* The QR card: tied to the button and opening above it, its right edge on
   the button's, or below when there is no room above. Without anchor
   positioning the browser centres it on the screen, which still works. */
.footer-app__qr-btn {
  anchor-name: --footer-app-qr;
}

.footer-app__popup {
  margin: auto;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface-card);
  color: var(--color-text-primary);
  box-shadow: 0 8px 24px rgba(var(--color-ink--rgb), 0.12);
  text-align: center;
}

@supports (position-area: top) {
  .footer-app__popup {
    position-anchor: --footer-app-qr;
    position-area: top span-left;
    position-try-fallbacks: flip-block, flip-inline;
    inset: auto;
    margin: 0 0 0.5rem;
  }
}

.footer-app__popup::backdrop {
  background: none;
}

/* Navy on white in both themes: a camera reads dark on light. */
.footer-app__qr-code {
  display: block;
  box-sizing: content-box;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  padding: 0.5rem;
  background-color: var(--color-white);
}

/* Which store the code leads to, in the text colour above the hint. */
.footer-app__popup-text strong {
  color: var(--color-text-primary);
  font-weight: 500;
}

.footer-app__popup-text {
  margin: 0.5rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

@media (max-width: 1084px) {
  .footer-app {
    --footer-app-badge: 34px;
    justify-content: center;
  }
}

/* On a phone (the owner, 2026-12-01) the footer's column is centred, and the
   app's name and line came out centred beside a left icon, while the badges
   (34px, for a finger) and the QR button, 259px together, did not fit the
   221px beside the icon and the QR fell to a line of its own. Now the icon
   and the name with its line make the first row, set left, and the badges
   with the QR the second, across the whole width. */
@media (max-width: 899px) {
  .footer-app {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75rem;
    row-gap: 0.75rem;
    align-items: center;
    justify-content: start;
    text-align: left;
  }

  .footer-app__body {
    display: contents;
  }

  .footer-app__icon {
    grid-row: 1;
    grid-column: 1;
    width: 56px;
    height: 56px;
  }

  .footer-app__title,
  .footer-app__text {
    grid-column: 2;
  }

  .footer-app__title {
    grid-row: 1;
    align-self: start;
    margin-top: 0.375rem;
  }

  .footer-app__text {
    grid-row: 1;
    align-self: end;
    margin-bottom: 0.375rem;
  }

  .footer-app__stores {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 0;
  }

  /* The contacts: the icon on the left and the words beside it set left, not
     centred like the rest of the column. */
  .footer-contacts__item {
    text-align: left;
  }
}
