/* Cedar GO — compact App Store / Google Play badges */

.cg-store-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  max-width: 100%;
}

.cg-store-badges--start {
  justify-content: flex-start;
}

.cg-store-badge {
  display: inline-flex;
  line-height: 0;
  text-decoration: none !important;
  border: 0;
  background: transparent;
  padding: 0;
  transition: opacity 0.15s ease;
}

.cg-store-badge:hover,
.cg-store-badge:focus-visible {
  opacity: 0.88;
  outline: none;
}

.cg-store-badge:focus-visible {
  outline: 2px solid var(--accent--primary-1, #e7061d);
  outline-offset: 2px;
}

.cg-store-badge img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 118px;
  object-fit: contain;
}

.cg-store-badge--play img {
  height: 48px;
  max-width: 136px;
  margin: -7px 0;
}

.buttons-row .cg-store-badges,
.footer-buttons .cg-store-badges,
.width-100-mbp .cg-store-badges {
  width: auto;
}

/* Hero + final CTA + footer: larger store badges */
.section.hero .cg-store-badges,
.cta---section .cg-store-badges,
.footer-buttons .cg-store-badges {
  gap: 12px 16px;
}

.section.hero .cg-store-badge img,
.cta---section .cg-store-badge img,
.footer-buttons .cg-store-badge img {
  height: 56px;
  max-width: 190px;
}

.section.hero .cg-store-badge--play img,
.cta---section .cg-store-badge--play img,
.footer-buttons .cg-store-badge--play img {
  height: 80px;
  max-width: 220px;
  margin: -12px 0;
}

@media screen and (max-width: 479px) {
  .cg-store-badges {
    width: 100%;
    gap: 6px 8px;
  }

  .cg-store-badge img {
    height: 32px;
    max-width: 110px;
  }

  .cg-store-badge--play img {
    height: 44px;
    max-width: 126px;
    margin: -6px 0;
  }

  .section.hero .cg-store-badge img,
  .cta---section .cg-store-badge img,
  .footer-buttons .cg-store-badge img {
    height: 48px;
    max-width: 168px;
  }

  .section.hero .cg-store-badge--play img,
  .cta---section .cg-store-badge--play img,
  .footer-buttons .cg-store-badge--play img {
    height: 68px;
    max-width: 196px;
    margin: -10px 0;
  }
}
