@media (max-width: 700px) {
  .shell {
    padding-inline: clamp(.875rem, 4vw, 1.125rem);
  }

  main {
    padding-bottom: 1.875rem;
  }

  .intro {
    padding-block: .65rem .8rem;
  }

  .illustrated-intro > img {
    width: min(100%, 14rem);
    margin: 0 auto .65rem;
  }

  .service-lead .illustrated-intro > img {
    margin-top: .75rem;
  }

  main .actions:has(> .button) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
  }

  main .actions > .button,
  .service-reference > .button {
    width: 100%;
    min-width: 0;
    padding-inline: .6rem;
    text-align: center;
  }

  main .button > span { min-inline-size: 0; }

  main .button > span,
  .share-actions > .button {
    overflow-wrap: break-word;
  }

  .cta-panel {
    padding: .875rem;
  }

  .case-visual {
    padding: .5rem;
  }

  .case-visual.inline-visual {
    width: 100%;
  }

  .case-visual figcaption {
    padding: .45rem .55rem;
  }

  .figure-preview-label {
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-inline: 0;
    text-align: center;
  }

  .figure-preview-label > span {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .share-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
  }

  .share-actions [data-copy-link] {
    grid-column: 1 / -1;
  }

  .icon-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }

  .icon-card {
    padding: .55rem;
  }

  .icon-card .button {
    justify-self: stretch;
    font-size: .875rem;
    padding-inline: .3rem;
  }

  .footer {
    gap: .75rem;
    padding: 1rem;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
  }

  .footer-group,
  .footer-group ul {
    display: block;
    grid-row: auto;
  }

  .footer-group:nth-child(3) {
    grid-column: 1 / -1;
    padding-top: .55rem;
    border-top: 1px solid #789388;
  }

  .footer-group:nth-child(3) ul {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .9rem;
  }

  .footer-group .footer-heading {
    margin-bottom: .125rem;
  }

  .footer-group ul,
  .footer-utility {
    font-size: .875rem;
  }

  .footer-group li + li {
    margin-top: 0;
  }

  .footer a,
  .footer-cookie {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    line-height: 1.35;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: .125rem;
    padding-top: .5rem;
  }

  .footer-tagline { display: block; }
  .footer-tagline-separator { display: none; }

  .footer-utility {
    margin-inline-start: 0;
    justify-content: flex-start;
    gap: .125rem .85rem;
  }
}

@media (max-width: 365px) {
  .footer-nav {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .footer-group:first-child {
    grid-column: 1 / -1;
    padding-bottom: .55rem;
    border-bottom: 1px solid #789388;
  }

  .footer-group:nth-child(3) {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }

  .footer-group:nth-child(3) ul {
    display: block;
  }
}

@media (min-width: 420px) and (max-width: 700px) {
  .share-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .share-actions [data-copy-link] {
    grid-column: auto;
  }
}

@media (min-width: 520px) and (max-width: 700px) {
  .about-habbo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

