/* Button jak link */

.learn-more {
  background: none;
  border: none;
  padding: 8px 0;
  color: #ffc008;
  font-weight: 600;
  cursor: pointer;
}

.learn-more:hover {
  text-decoration: underline;
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.modal__dialog {
  position: relative;
  margin: 24px auto;
  background: #fff;
  border-radius: 16px;
  width: min(92vw, 640px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 20px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #f2f3f5;
  cursor: pointer;
}

.modal__title {
  text-align: center;
  margin-bottom: 16px;
}

.modal__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffc008;
  margin: 10px auto 0;
  border-radius: 2px;
}

.modal__content {
  text-align: center;
  margin-bottom: 16px;
}

.learn-more {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
}

.insurance-item::before, .insurance-item::after {
  pointer-events: none;
}

.insurance-item {
  position: relative;
}

.insurance-item::before, .insurance-item::after {
  pointer-events: none;
}

.learn-more {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

