.apk-breadcrumb {
  align-items: center;
  color: #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem 0;
}
.apk-breadcrumb a { color: #22d3ee; text-decoration: underline; }

.flex-container-download {
  flex-wrap: wrap;
  gap: 1rem;
}

.flex-container-download > div {
  height: auto;
  max-width: 100%;
  padding-bottom: 1rem;
  width: 230px;
}

.flex-container-download .vector-btn > a {
  color: #07111f;
  display: inline-block;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 100%;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.flex-container-download .vector-btn > a:hover {
  text-decoration: underline;
}

body.restored-page {
  background: #07111f;
  color: #f8fafc;
}

.restored-page > .wrapper {
  background: #0d1b2a;
  margin: 1.25rem auto 2rem;
  max-width: min(100% - 2rem, 920px);
  min-height: 0;
  overflow: visible;
  border: 1px solid #25364a;
  border-radius: 1rem;
}

.restored-page .main-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.restored-page .main-content img,
.restored-page .main-content video {
  max-width: 100%;
}

.restored-page .main-content .section-heading {
  color: #f8fafc;
}

.restored-page .main-content h1.section-heading {
  font-size: clamp(1.65rem, 3.5vw, 2.45rem);
  line-height: 1.18;
}

.restored-guide {
  background: #12243a;
  border: 1px solid #294058;
  border-radius: 0.8rem;
  color: #dbe7f3;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: start;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
}

.restored-guide p,
.restored-guide ul {
  margin: 0;
}

.restored-guide ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  list-style: none;
  padding: 0.65rem 0 0;
}

.restored-guide a {
  color: #67e8f9;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 580px) {
  .restored-page > .wrapper {
    margin-block: 0 1rem;
    max-width: 100%;
    border-inline: 0;
    border-radius: 0;
  }


  .restored-page .px-4 {
    padding-inline: 1rem !important;
  }
}

.support-contact h2 {
  color: #f8fafc;
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.support-contact a.support-contact-link {
  background: #22d3ee;
  border-radius: 0.5rem;
  color: #07111f;
  display: inline-block;
  font-weight: 700;
  margin-top: 0.75rem;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.support-contact a.support-contact-link:hover,
.support-contact a.support-contact-link:focus-visible {
  text-decoration: underline;
}

.support-contact-link span {
  font-size: 0.875em;
  font-weight: 500;
}

.apk-help-link {
  color: #67e8f9;
  display: inline-flex;
  margin-bottom: 0.75rem;
  text-decoration: underline;
}

.restored-page .legal-article {
  padding: clamp(1.25rem, 4vw, 3rem);
}
.legal-article h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 1.25rem;
}
.legal-article h2 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
}
.legal-article p,
.legal-article ul {
  color: #cbd5e1;
  margin-top: 0.8rem;
}
.legal-article ul {
  list-style: disc;
  padding-inline-start: 1.4rem;
}
.legal-article a {
  color: #67e8f9;
  text-decoration: underline;
}

/* Keep article images readable without letting logos fill the article column. */
.restored-page .legacy-article #main-content img.article-media {
  display: block;
  width: min(100%, var(--article-media-width, 620px));
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.restored-page .legacy-article #main-content .section-heading:has(> h1) {
  max-width: min(100%, 720px);
  text-transform: none;
}

.restored-page .legacy-article #main-content h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.24;
  text-transform: none;
  margin: 1rem 0;
}

.restored-page .legacy-article #main-content .restored-guide {
  text-transform: none;
}

@media (max-width: 580px) {
  .restored-page .legacy-article #main-content img.article-media--square,
  .restored-page .legacy-article #main-content img.article-media--portrait {
    max-width: min(100%, 62vw, 248px);
  }
}
