/* v1.00 — Tu ciudad usa el mismo banner vertical del evento recomendado de las fichas territoriales. */

@media (min-width: 980px) {
  .page-city-hub .city-hub-intro-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }

  .page-city-hub .city-hub-recommended {
    width: 360px;
    min-width: 360px;
    max-width: 360px;
    justify-self: end;
    align-self: start;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card {
    width: 100% !important;
    max-width: 360px !important;
    min-width: 360px !important;
    height: 735px !important;
    min-height: 735px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin-left: 0 !important;
    justify-self: stretch;
    align-self: stretch;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card .agenda-side-panel-copy {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .82rem;
    padding: .72rem .72rem .98rem;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card .agenda-side-panel-body {
    margin-top: auto;
    padding: 1rem;
    gap: .6rem;
    border-radius: 20px;
  }
}

@media (max-width: 979px) {
  .page-city-hub .city-hub-recommended {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 430px !important;
    aspect-ratio: auto !important;
  }
}
