/* Full-width, editorial design cards on phones. No desktop redesign. */
@media screen and (max-width: 640px) {
  .an-auto-gallery .an-design-grid,
  .an-design-grid[data-an-cards] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    width: 100%;
  }
  .an-auto-gallery .an-design-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }
  .an-auto-gallery .an-card-image {
    aspect-ratio: 1.22;
  }
  .an-auto-gallery .an-card-copy {
    padding: 20px 19px 22px;
  }
  .an-auto-gallery .an-card-copy h3 {
    font-size: clamp(23px, 6.1vw, 30px);
    line-height: 1.22;
    min-height: 0;
  }
  .an-auto-gallery .an-card-actions {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
  }
}
.an-gallery-retry {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6em;
  margin: 18px auto 0;
  padding: 12px 22px;
  min-height: 46px;
  background: #d5b278;
  color: #132119;
  border: 1px solid #e3ca9c;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .03em;
  cursor: pointer;
}
.an-gallery-retry:hover,
.an-gallery-retry:focus-visible { background: #f1d39b; }
.an-gallery-retry[hidden] { display: none !important; }
.an-gallery-retry:disabled { cursor: wait; opacity: .7; }
