/* Keep disclosure titles in the same hierarchy as the other help headings. */
.leaf-theme main details > summary {
  font-weight: 700 !important;
}

.leaf-theme main .finder-actions > .content-action-pair {
  margin-block: 0;
}

.leaf-theme main .safety-download-options {
  max-inline-size: 28rem;
  padding-block: 8px 10px;
  border-block-end: 1px solid #b5c2a0;
}

.leaf-theme main .safety-download-options h2 {
  margin-block: 0 8px;
}

.leaf-theme main .safety-download-options .safety-download-actions {
  margin: 0;
}

.leaf-theme main :is(.safety-download-next, .safety-pdf-link) {
  margin-block: 8px;
}

.leaf-theme .sos-page .sos-card {
  margin-block: 12px 14px;
  padding-block: 0;
}

.leaf-theme .sos-page .sos-checklist-title {
  margin-block: 6px;
}

.leaf-theme .sos-page #hilfe-finden .finder-emergency {
  width: fit-content;
  min-height: 44px;
  margin-block-end: 8px;
  padding: 6px 12px;
  text-align: center;
}

.leaf-theme .sos-page .sos-support {
  margin-block: 10px;
}

.leaf-theme .sos-page .sos-support .content-action-pair {
  max-inline-size: 28rem;
  margin-block: 8px;
}

.leaf-theme .sos-page #notrufvideo .video-languages {
  margin-block: 8px 6px;
}

.leaf-theme .sos-page #notrufvideo .note {
  margin-block: 8px 12px;
}

.help-contact-page main #sicherheitskarte .safety-download-sources {
  border: 0;
  padding: 0;
}

.help-contact-page main .safety-download-sources[open] > summary {
  margin-block-end: 8px;
}

@media (max-width: 700px) {
  .help-contact-page main .safety-download {
    padding-block: 18px;
  }

  .leaf-theme main .finder-panel > .content-action-pair:last-child,
  .leaf-theme main .help-card > p:last-child {
    margin-block-end: 0;
  }

  .leaf-theme main :is(
    .help-card > details:last-child,
    .safety-download-sources,
    #faq details:last-child,
    #empfehlungen details:last-child
  ):not([open]) {
    padding-block-end: 12px;
  }

  .leaf-theme main .update-background {
    padding-block-end: 24px;
  }

  .leaf-theme main > #hilfe-finden {
    padding-block: 10px 16px;
  }

  .leaf-theme .sos-page > #hilfe-finden > .wrap {
    padding-inline: 12px;
  }

  .leaf-theme .sos-page .finder-panel {
    padding: 10px 12px;
  }

  .leaf-theme .sos-page #finder-title {
    margin-block-end: 6px;
    font-size: clamp(25px, 7vw, 29px) !important;
  }

  .leaf-theme .sos-page .finder-panel h2 {
    font-size: 23px !important;
  }

  .leaf-theme .sos-page .finder-panel h3 {
    margin-block: 12px 6px;
    font-size: 21px !important;
  }

  .leaf-theme .sos-page #hilfe-finden .finder-panel :is(p, li) {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .leaf-theme .sos-page #hilfe-finden .finder-panel .note {
    margin-block: 6px 0;
    font-size: 14px !important;
  }

  .leaf-theme .sos-page #hilfe-finden :is(.sos-call-first, .sos-interpreter) {
    margin-block-end: 6px;
  }

  .leaf-theme .sos-page .finder-panel > p:last-child {
    margin-block: 8px 0;
  }

  .leaf-theme .sos-page .finder-panel > ul {
    margin-block: 6px 10px;
    padding-inline-start: 1.4em;
  }
}

.leaf-theme .sos-page #hilfe-finden .emergency-app-card {
  margin-block: 12px;
  padding: 16px;
  border: 2px solid #809466;
  border-radius: 8px;
  background: #e8efd9;
  color: #253e35;
}
.leaf-theme .sos-page #hilfe-finden .emergency-app-card h3 {
  margin-block: 0 8px;
  font-size: 1.3rem !important;
  font-weight: 700;
}
.leaf-theme .sos-page #hilfe-finden .emergency-app-card p {
  margin: 0;
  font-size: 1.125rem !important;
  line-height: 1.55 !important;
}
.leaf-theme .sos-page #hilfe-finden .emergency-app-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 14px;
}
.leaf-theme .sos-page #hilfe-finden .emergency-app-downloads .finder-button {
  flex: 1 1 12rem;
  min-height: 52px;
  padding: 12px 14px;
  background: #d0dfb8;
  border: 1px solid #6c8055;
  color: #253e35;
  font-size: 1.125rem !important;
  font-weight: 700;
  line-height: 1.35;
}
.leaf-theme .sos-page #hilfe-finden .emergency-app-downloads .finder-button:hover {
  background: #c3d5a6;
}
