/* Direct contact card replacing the legacy Contact Form 7 enquiry form. */
.siteorigin-widget-tinymce > p:has(+ .tour-contact-card) {
  display: none;
}

.tour-contact-card {
  background: linear-gradient(135deg, #182a4e 0%, #233f5f 58%, #2e5878 100%);
  border: 1px solid rgba(151, 229, 255, 0.3);
  border-radius: 16px;
  box-sizing: border-box;
  box-shadow: 0 18px 40px rgba(24, 42, 78, 0.2);
  color: #fff;
  margin: 0 auto 1.5rem;
  max-width: 760px;
  overflow: hidden;
  padding: 32px;
  position: relative;
  text-align: left;
}

.tour-contact-card::after {
  background: rgba(151, 229, 255, 0.08);
  border-radius: 50%;
  content: "";
  height: 240px;
  pointer-events: none;
  position: absolute;
  right: -105px;
  top: -125px;
  width: 240px;
}

.tour-contact-card__content {
  position: relative;
  z-index: 1;
}

body #content .tour-contact-card__eyebrow {
  color: #97e5ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

body #content .tour-contact-card__title {
  color: #fff !important;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
  margin: 0 0 12px;
  text-transform: none;
}

body #content .tour-contact-card__intro {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 650px;
}

.tour-contact-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tour-contact-card__action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  display: flex;
  flex: 1 1 0;
  gap: 12px;
  min-height: 66px;
  padding: 12px 16px;
  text-decoration: none !important;
  transition: box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.tour-contact-card__action:hover,
.tour-contact-card__action:focus {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.tour-contact-card__action svg,
.tour-contact-card__phone svg {
  fill: none;
  flex: 0 0 auto;
  height: 28px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 28px;
}

.tour-contact-card__action span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tour-contact-card__action strong {
  color: inherit !important;
  font-size: 0.98rem;
  line-height: 1.25;
}

.tour-contact-card__action small {
  color: inherit;
  font-size: 0.72rem;
  line-height: 1.3;
  opacity: 0.82;
  overflow-wrap: anywhere;
}

.tour-contact-card__action--whatsapp {
  background: #25d366;
  color: #102f20 !important;
}

.tour-contact-card__action--whatsapp:hover,
.tour-contact-card__action--whatsapp:focus {
  background: #31e374;
  color: #102f20 !important;
}

.tour-contact-card__action--email {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

.tour-contact-card__action--email:hover,
.tour-contact-card__action--email:focus {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

.tour-contact-card__phone {
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
}

.tour-contact-card__phone span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
}

.tour-contact-card__phone a {
  align-items: center;
  color: #fff !important;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 8px;
  text-decoration: none !important;
}

.tour-contact-card__phone a:hover,
.tour-contact-card__phone a:focus {
  color: #97e5ff !important;
}

@media screen and (max-width: 39.9375em) {
  body.single-post.category-trasy .entry-content-post {
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
  }

  .tour-contact-card {
    border-radius: 12px;
    padding: 24px 18px;
  }

}
