/*
 * "Evangelisták" blokk alapkinézete (modules/evangelist/block.php).
 * A blokk kitölti a befoglaló elemet; szélességet, margót és hátteret
 * az adott oldal CSS-e adjon a befoglaló elemre.
 */

.evangelist-block {
  container-type: inline-size;
}

.evangelist-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2.25rem;
  background: #eed40e;
  color: #212529;
  border-radius: 3rem 0.75rem 3rem 0.75rem;
}

.evangelist-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.evangelist-bubble-1 {
  width: 220px;
  height: 220px;
  top: -110px;
  right: 18%;
}

.evangelist-bubble-2 {
  width: 140px;
  height: 140px;
  bottom: -70px;
  left: -40px;
  background: rgba(33, 37, 41, 0.08);
}

.evangelist-icon,
.evangelist-content,
.evangelist-action {
  position: relative;
  z-index: 1;
}

.evangelist-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #212529;
  color: #eed40e;
  font-size: 2.25rem;
  transform: rotate(-12deg);
  box-shadow: 0 0.5rem 1rem rgba(33, 37, 41, 0.25);
}

.evangelist-content {
  flex: 1;
}

.evangelist-banner .evangelist-title {
  font-family: "HuntorHeading", "Catamaran", sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: #212529;
  text-align: inherit;
  margin-bottom: 0.35rem;
}

.evangelist-text {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 0;
}

.evangelist-btn {
  background: #212529;
  color: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    0.15s transform ease,
    0.15s background-color ease,
    0.15s color ease;
}

.evangelist-btn:hover,
.evangelist-btn:focus {
  background: #000;
  color: #eed40e;
  transform: translateY(-2px);
}

.evangelist-btn i {
  color: #eed40e;
}

.evangelist-modal .modal-body {
  height: auto;
}

.evangelist-modal .form-floating > .evangelist-description {
  height: 140px;
  min-height: 140px;
  resize: vertical;
}

.evangelist-description-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: #fdf6c4;
  border-left: 4px solid #eed40e;
  border-radius: 0.5rem;
  color: #212529;
  font-size: 0.95rem;
  line-height: 1.4;
}

.evangelist-description-hint i {
  margin-top: 0.15rem;
  color: #212529;
}

.evangelist-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .evangelist-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
    border-radius: 2rem 0.5rem 2rem 0.5rem;
  }

  .evangelist-icon {
    width: 68px;
    height: 68px;
    font-size: 1.85rem;
  }

  .evangelist-action,
  .evangelist-btn {
    width: 100%;
  }

  .evangelist-btn {
    white-space: normal;
  }
}

@container (max-width: 520px) {
  .evangelist-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
    padding: 1.35rem 1.1rem;
    border-radius: 1.75rem 0.5rem 1.75rem 0.5rem;
  }

  .evangelist-bubble-1 {
    width: 160px;
    height: 160px;
    top: -80px;
    right: -40px;
  }

  .evangelist-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .evangelist-banner .evangelist-title {
    font-size: 1.35rem;
  }

  .evangelist-text {
    font-size: 0.95rem;
  }

  .evangelist-action,
  .evangelist-btn {
    width: 100%;
  }

  .evangelist-btn {
    padding: 0.7rem 1rem;
    white-space: normal;
  }
}
