.phone-shot {

  text-align: center;

  margin: 2rem 0;

}

.phone-shot img {

  max-width: 300px;

  width: 75%;

  height: auto;

}

.phone-shot figcaption {

  margin-top: 0.25rem;

  font-size: 0.95rem;

  color: #777;

  text-align: center;

}
.three-phone-shot {

  text-align: center;

  margin: 2rem 0;

}

/* .three-phone-shot img {

  max-width: 300px;

  width: 75%;

  height: auto;

} */

.three-phone-shot figcaption {

  margin-top: 0.25rem;

  font-size: 0.95rem;

  color: #777;

  text-align: center;

}
.status-green {
  color: #34c759;
  font-weight: 700;
}

.status-blue {
  color: #0088ff;
  font-weight: 700;
}

.status-red {
  color: #ff383c;
  font-weight: 700;
}

.status-grey {
  color: #666666;
  font-weight: 700;
}

.status-soft-grey {
  color: #aaaaaa;
  font-weight: 700;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem auto 0 auto;
  max-width: 900px;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  gap: 0.5rem;
  padding: 1.25rem 1rem;

  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.75rem;
  background: var(--md-default-bg-color);
}

.icon-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}


.icon-card strong {
  display: block;
  margin-bottom: 0.05rem;
}

.icon-subtitle {
  margin: 0 0 0.55rem 0;
  font-size: 0.78rem;
  line-height: 1.1;
  color: var(--md-default-fg-color--light);
}

.icon-card p:not(.icon-subtitle) {
  margin-top: 0;
}
/* Only collapse on genuinely narrow screens */
@media screen and (max-width: 520px) {
  .icon-grid {
    grid-template-columns: 1fr;
  }
}


/* App Store nav item: normal text fallback */
.md-nav__link[href*="apps.apple.com"] {
  position: relative !important;
  display: block !important;
  width: 135px !important;
  height: 40px !important;
  margin-top: 1rem !important;
  padding: 0 !important;

  /* normal MkDocs-style fallback */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-align: left !important;
}

/* Keep the normal nav text underneath */
.md-nav__link[href*="apps.apple.com"] .md-ellipsis {
  position: relative !important;
  z-index: 1 !important;
}

/* Badge overlay */
.md-nav__link[href*="apps.apple.com"]::before {
  content: "";
  position: absolute;

  /* slightly oversized so no text/edge peeks through */
  top: -2px;
  left: -2px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);

  z-index: 2;
  background-image: url("../Utilities/Download_on_the_App_Store_Black.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;

  pointer-events: none;
}

/* Hover badge */
.md-nav__link[href*="apps.apple.com"]:hover::before {
  background-image: url("../Utilities/Download_on_the_App_Store_White.svg");
}
