/* Homepage only: level rankings | news feed | power rankings. */
@media (min-width: 1100px) {
  .tmk-front .tmk-lower-landscape {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(16px, 1.8vw, 28px);
    align-items: start;
    box-sizing: border-box;
    padding-inline: max(24px, calc((100vw - 1640px) / 2));
    padding-bottom: 44px;
  }

  .tmk-front .tmk-lower-landscape > * { grid-column: 1 / -1; }
  .tmk-front .tmk-lower-landscape > .tmk-promo-row { grid-row: 1; }
  .tmk-front .tmk-lower-landscape > .tmk-shortcut-strip { grid-row: 2; }

  .tmk-front .tmk-lower-landscape .tmk-newsroom,
  .tmk-front .tmk-lower-landscape .tmk-rankings,
  .tmk-front .tmk-lower-landscape .tmk-rankings-grid {
    display: contents;
  }

  .tmk-front .tmk-lower-landscape .tmk-newsroom-title {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    margin: 30px 0 24px;
  }

  .tmk-front .tmk-lower-landscape .tmk-newsroom-frame {
    grid-column: 2;
    grid-row: 4;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    contain: size;
    min-height: 0;
    padding: 0;
    border: solid transparent;
    border-width: 44px 26px 64px;
    border-image: url('/images/tmk-quick-rail/rail-frame.webp') 176 185 540 118 fill stretch;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .tmk-front .tmk-lower-landscape .facebook-page-feed {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .tmk-front .tmk-lower-landscape .facebook-page-feed__bar {
    flex: 0 0 auto;
    width: 100%;
    padding-inline: 4px;
  }
  .tmk-front .tmk-lower-landscape .facebook-page-feed__frame {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
  }
  .tmk-front .tmk-lower-landscape .facebook-page-feed__frame iframe {
    height: 100% !important;
  }
  .tmk-front .tmk-lower-landscape .facebook-page-feed__note {
    flex: 0 0 auto;
    width: 100%;
    padding-inline: 4px;
    font-size: 12px;
  }

  .tmk-front .tmk-lower-landscape .tmk-rankings > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .tmk-front .tmk-lower-landscape .tmk-rankings-panel {
    grid-row: 4;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 620px;
    margin: 0;
    border-width: 44px 26px 64px;
    align-self: stretch;
  }
  .tmk-front .tmk-lower-landscape .tmk-rankings-panel:first-child { grid-column: 1; }
  .tmk-front .tmk-lower-landscape .tmk-rankings-panel:last-child { grid-column: 3; }

  .tmk-front .tmk-lower-landscape .tmk-rankings-heading { padding-inline: 4px; }
  .tmk-front .tmk-lower-landscape .tmk-rankings-heading h3 {
    width: min(170px, 72%);
    min-height: 44px;
    font-size: clamp(16px, 1.2vw, 21px);
  }
  .tmk-front .tmk-lower-landscape .tmk-rankings th,
  .tmk-front .tmk-lower-landscape .tmk-rankings td { padding: 8px 6px; }
  .tmk-front .tmk-lower-landscape .tmk-rankings-updated {
    padding-inline: 6px;
    font-size: 12px;
  }
  .tmk-front .tmk-lower-landscape .classic-player-code {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 24px;
  }

  /* Keep the original shortcut rail by the hero so it cannot cover the left board. */
  .tmk-front > .tmk-quick-rail {
    position: absolute !important;
    top: 52px !important;
    bottom: auto !important;
  }
}
