/* Ordre plus lisible et gabarit strictement identique pour les grands accès. */
#matieres,
.content-section.extras,
.tables-callout,
.irregular-verbs-card,
.languages-discovery-card,
.expose-callout,
#quiz-spaces,
.spaces.themed-spaces {
  width: min(1180px, calc(100% - 32px)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 760px) {
  .content-section.extras {
    width: calc(100% - 24px) !important;
    margin: 20px 12px !important;
    padding: 0 !important;
  }

  .content-section.extras .feature-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin: 0 !important;
  }

  .irregular-verbs-card,
  .tables-callout,
  .expose-callout,
  .languages-discovery-card,
  .feature-grid .control-tomorrow-card,
  .feature-grid .dictation-home-card,
  .themed-spaces .sports-visual-card,
  .themed-spaces .culture-visual-card {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }

  .irregular-verbs-card,
  .tables-callout,
  .expose-callout,
  .languages-discovery-card {
    width: calc(100% - 24px) !important;
    margin: 20px 12px !important;
  }

  .spaces.themed-spaces {
    width: calc(100% - 24px) !important;
    margin: 0 12px 24px !important;
    padding: 0 !important;
    gap: 20px !important;
  }
}
