/* V3.13: change only mobile homepage order and spacing, no desktop rules. */
@media (max-width:690px) {
  .page > .content-grid > main > .ah-market-strip { margin-top: 12px; margin-bottom: 12px; width:100%; max-width:100%; min-width:0; }
  .page > .content-grid > main > .ah-gold.ah-mobile-gold { box-sizing:border-box; width:100%; max-width:100%; min-width:0; margin:0 0 12px; }
  .page > .content-grid > main > .quick { margin-top: 0; }
  .page > .content-grid > main > .ah-gold.ah-mobile-gold .ah-gold-table { max-width:100%; min-width:0; }
}


/* Aydin Olay V3.73 — Mobile: remove phantom agenda rows/large whitespace.
   The inline agenda widget defines four desktop rows even on mobile, although
   mobile has two columns. Use implicit rows only for cards actually present.
   Does not affect desktop, finance API, articles or advertisements. */
@media (max-width:690px) {
  .page > .content-grid > main > .lead-grid {
    align-items:start!important;
    grid-auto-rows:auto!important;
    height:auto!important;
  }
  .page > .content-grid > main > .lead-grid > .ao-agenda-side {
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:start!important;
  }
  .page > .content-grid > main > .lead-grid > .ao-agenda-side > .side-stories {
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:none!important;
    grid-auto-rows:minmax(108px,auto)!important;
    align-content:start!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  .page > .content-grid > main > .lead-grid > .ao-agenda-side > .side-stories > a {
    min-width:0!important;
    min-height:108px!important;
  }
}
