/* Alignement mobile des trois grands accès violets. */
@media (max-width: 760px) {
  .irregular-verbs-card,
  .languages-discovery-card {
    grid-template-rows: 132px 42px !important;
    row-gap: 14px !important;
    align-content: start !important;
  }

  .irregular-icon,
  .languages-globe {
    grid-row: 1 / 3 !important;
    align-self: center !important;
  }

  .irregular-verbs-card > div:nth-child(2),
  .languages-discovery-card > div:nth-child(2) {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-rows: auto auto 1fr !important;
    align-content: start !important;
    height: 132px !important;
    padding: 0 !important;
  }

  .irregular-verbs-card span,
  .languages-discovery-card small,
  .content-section.extras .control-tomorrow-copy > small {
    display: block !important;
    margin: 0 0 5px !important;
    line-height: 1.2 !important;
  }

  .irregular-verbs-card h2,
  .languages-discovery-card h2,
  .content-section.extras .feature-grid .control-tomorrow-copy h3 {
    box-sizing: border-box !important;
    height: 53px !important;
    margin: 0 0 7px !important;
    line-height: 1.06 !important;
    overflow: hidden !important;
  }

  .irregular-verbs-card p,
  .languages-discovery-card p,
  .content-section.extras .feature-grid .control-tomorrow-copy p {
    box-sizing: border-box !important;
    display: -webkit-box !important;
    height: 43px !important;
    margin: 0 !important;
    overflow: hidden !important;
    line-height: 1.35 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .irregular-verbs-card > button,
  .languages-discovery-card > button {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    margin: 0 !important;
  }

  .content-section.extras .feature-grid .control-tomorrow-card {
    align-items: start !important;
  }

  .content-section.extras .control-tomorrow-icon {
    align-self: center !important;
  }

  .content-section.extras .control-tomorrow-copy {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-rows: auto auto 1fr 42px !important;
    align-content: start !important;
    height: 188px !important;
  }

  .content-section.extras #openControlTomorrow {
    align-self: end !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .languages-flags {
    display: none !important;
  }
}
