.suicide-help-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box
}

.suicide-help-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px)
}

.suicide-help-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  animation: modalSlideIn 0.3s ease-out
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.suicide-help-header {
  position: relative;
  padding: 20px 20px 0 20px;
  display: flex;
  justify-content: flex-end
}

.suicide-help-close {
  background: none;
  border: none;
  font-size: var(--text-3xl);
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease
}

.suicide-help-close:hover {
  background-color: #f5f5f5;
  color: #666
}

.suicide-help-body {
  padding: 0 30px 30px 30px
}

.suicide-help-heading {
  font-family: DM Serif Display;
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 42px;
  color: rgba(14, 20, 95, 1);
  padding: 0px 0px 5px;
  max-width: 830px;
  margin: auto;
  text-align: center
}

.suicide-help-important {
  color: var(--color-orange)
}

.suicide-help-container {
  max-width: 100%
}

.suicide-help-description {
  font-size: var(--text-md);
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px
}

.suicide-help-list {
  list-style: none;
  padding: 0;
  margin: 25px 0
}

.suicide-help-call {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-orange);
  position: relative
}

.suicide-help-call::before {
  content: "▶";
  color: var(--color-orange);
  font-size: var(--text-base);
  margin-right: 10px;
  top: -1px;
  position: relative
}

.suicide-help-phone {
  color: var(--color-text-heading);
  font-weight: 600
}

@media (max-width:768px) {
  .suicide-help-modal {
    padding: 15px
  }

  .suicide-help-content {
    max-height: 95vh;
    border-radius: 12px
  }

  .suicide-help-body {
    padding: 0 25px 30px 25px
  }

  .suicide-help-heading {
    font-size: var(--text-2xl);
    margin-bottom: 25px
  }

  .suicide-help-description {
    font-size: var(--text-base)
  }

  .suicide-help-call {
    font-size: var(--text-md)
  }

  .suicide-help-phone {
    font-size: var(--text-md)
  }
}

@media (max-width:480px) {
  .suicide-help-modal {
    padding: 10px
  }

  .suicide-help-body {
    padding: 0 20px 25px 20px
  }

  .suicide-help-heading {
    font-size: var(--text-xl);
    margin-bottom: 20px;
    line-height: 130%
  }

  .suicide-help-description {
    font-size: var(--text-base);
    margin-bottom: 15px
  }

  .suicide-help-call {
    font-size: var(--text-base)
  }

  .suicide-help-phone {
    font-size: var(--text-base)
  }
}

.suicide-help-modal:focus-within {
  outline: none
}

.suicide-help-close:focus {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px
}

.suicide-help-content {
  scroll-behavior: smooth
}

@media (prefers-contrast:high) {
  .suicide-help-overlay {
    background-color: rgba(0, 0, 0, 0.9)
  }

  .suicide-help-content {
    border: 2px solid #000
  }

  .suicide-help-important,
  .suicide-help-call,
  .suicide-help-phone {
    color: #000;
    background: #fff;
    border: 2px solid #000
  }
}