@media (min-width: 48rem) {
  .ece-landing__container { padding-inline: var(--ece-space-5); }
  .ece-landing__footer { justify-content: flex-start; }
  .ece-form-shell { padding-top: var(--ece-space-4); }
  .ece-dialog__actions { grid-template-columns: 1fr 1fr; }
}

@media (max-height: 42rem) and (orientation: landscape) {
  .ece-landing__container { padding-block: var(--ece-space-2); }
  .ece-landing__content { padding-block: var(--ece-space-2); }
  .ece-landing__title { font-size: clamp(2.2rem, 7vw, 4.4rem); }
}


@media (max-width: 30rem) {
  .ece-step-actions--split {
    align-items: stretch;
    gap: var(--ece-space-2);
  }

  .ece-step-actions--split .ece-button {
    flex: 1;
    padding-inline: 1rem;
  }
}


@media (max-width: 36rem) {
  .ece-choice-grid {
    grid-template-columns: 1fr;
  }

  .ece-step-actions--split {
    gap: 0.75rem;
  }

  .ece-step-actions--split .ece-button {
    flex: 1;
  }
}


@media (max-width: 24rem) {
  .ece-other-deadline-row {
    grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 8rem);
    gap: 0.5rem;
  }
}


@media (max-width: 34rem) {
  .ece-language-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .ece-landing__subtitle {
    font-size: clamp(0.7rem, 3vw, 0.82rem);
  }
}

@media (max-width: 22rem) {
  .ece-landing__subtitle {
    white-space: normal;
  }
}


@media (max-width: 36rem) {
  .ece-file-control {
    grid-template-columns: 1fr;
  }

  .ece-file-button {
    width: 100%;
  }

  .ece-summary__list {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .ece-summary__list dd + dt {
    margin-top: 0.55rem;
  }

  #ece-submit-application {
    min-width: 0;
  }
}


@media (max-width: 36rem) {
  .ece-step-card__brand-mark--confirmation {
    width: 5.25rem;
    margin-bottom: 1rem;
  }

  .ece-success-card__logo {
    width: min(70%, 12rem);
  }
}


@media (max-width: 36rem) {

  #ece-step-5 .ece-step-card__header {
    margin-bottom: 0.7rem;
  }

  #ece-step-5 .ece-step-card__brand-mark--confirmation {
    width: 4.25rem;
  }

  .ece-summary--compact .ece-summary__section {
    padding: 0.52rem 0.65rem;
  }

  .ece-summary--compact .ece-edit-button {
    padding: 0.28rem 0.58rem;
    font-size: 0.72rem;
  }

  #ece-step-5 .ece-label {
    margin-bottom: 0.35rem;
  }

  #ece-step-5 .ece-input {
    min-height: 2.9rem;
  }

  #ece-step-5 .ece-consent__label {
    gap: 0.55rem;
    font-size: 0.88rem;
  }

  #ece-step-5 .ece-button {
    min-height: 3rem;
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
  }
}


@media (max-width: 36rem) {
  .ece-summary--fixed {
    gap: 0.5rem;
  }

  .ece-summary--fixed .ece-summary__section {
    padding: 0.62rem 0.7rem;
  }

  .ece-summary--fixed .ece-summary__section-header {
    margin-bottom: 0.45rem;
  }

  .ece-summary--fixed .ece-summary__list {
    grid-template-columns: minmax(6.5rem, 0.8fr) minmax(0, 1.2fr);
    gap: 0.22rem 0.6rem;
  }

  .ece-summary--fixed .ece-summary__list dd + dt {
    margin-top: 0;
  }
}

@media (max-width: 25rem) {
  .ece-summary--fixed .ece-summary__list {
    grid-template-columns: 1fr;
    gap: 0.08rem;
  }

  .ece-summary--fixed .ece-summary__list dd + dt {
    margin-top: 0.35rem;
  }
}


@media (max-width: 36rem) {
  #ece-step-5 .ece-step-card__header {
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }

  #ece-step-5 .ece-step-card__brand-mark--confirmation {
    width: 3.6rem;
  }

  
}

@media (max-width: 22rem) {
  #ece-step-5 .ece-step-card__brand-mark--confirmation {
    width: 3.1rem;
  }
}


@media (max-width: 36rem) {
  #ece-step-5 {
    padding: clamp(1.35rem, 5vw, 2.75rem);
  }
}
