/* Same phone geometry for editorial cards, regardless of carousel item count. */
@media (max-width: 999px) {
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll:has(> article.gs-content-card) {
    grid-auto-columns: min(100%, clamp(220px, 81%, 336px)) !important;
    align-items: stretch;
  }
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll > article.gs-content-card {
    box-sizing: border-box;
    min-inline-size: 0;
    align-self: stretch;
    block-size: auto;
  }
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll > article.gs-content-card > .gs-content-card__media {
    flex: none;
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 16 / 9;
  }
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll > article.gs-content-card > .gs-content-card__body {
    box-sizing: border-box;
    flex: none;
    block-size: 11rem;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    padding: 9px 11px 10px;
    gap: 5px;
  }
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll .gs-content-card__title,
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll .gs-content-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll .gs-content-card__title { grid-row: 2; -webkit-line-clamp: 2; margin-block: 0; }
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll .gs-content-card__excerpt { grid-row: 3; -webkit-line-clamp: 3; margin-block: 0; align-self: start; max-block-size: 100%; }
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll .gs-content-card__cat { grid-row: 1; justify-self: start; }
  #gs-main-content .jwl-horizontal-section > .gs-row-scroll .gs-content-card__foot { grid-row: 4; margin-block-start: 0; }
}
