/* Version 2.0.5: insurer cloud and pre-arrival Beckham Law guidance. */

.cuesta-international-page .cu-beckham-widget,
.elementor-editor-active .cu-beckham-widget {
  width: 100% !important;
  margin-top: 26px !important;
}

.cuesta-international-page .cu-tax-guides,
.elementor-editor-active .cu-tax-guides {
  display: grid;
  gap: 14px;
}

.cuesta-international-page .cu-beckham,
.elementor-editor-active .cu-beckham {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(20, 157, 149, 0.22);
  border-radius: 26px;
  background: linear-gradient(135deg, #f1f8f6 0%, #ffffff 58%, #f8f1e4 100%);
  box-shadow: 0 16px 42px rgba(23, 52, 55, 0.08);
}

.cuesta-international-page .cu-beckham summary,
.elementor-editor-active .cu-beckham summary {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 34px;
  gap: 20px;
  align-items: center;
  padding: 26px 30px;
  cursor: pointer;
  list-style: none;
}

.cuesta-international-page .cu-beckham summary::-webkit-details-marker,
.elementor-editor-active .cu-beckham summary::-webkit-details-marker {
  display: none;
}

.cuesta-international-page .cu-beckham-badge,
.elementor-editor-active .cu-beckham-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  color: #ffffff;
  background: #159d95;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cuesta-international-page .cu-beckham-heading,
.elementor-editor-active .cu-beckham-heading {
  display: grid;
  gap: 4px;
}

.cuesta-international-page .cu-beckham-heading small,
.elementor-editor-active .cu-beckham-heading small {
  color: #159d95;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.cuesta-international-page .cu-beckham-heading strong,
.elementor-editor-active .cu-beckham-heading strong {
  color: #22292b;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
}

.cuesta-international-page .cu-beckham-heading em,
.elementor-editor-active .cu-beckham-heading em {
  color: #647074;
  font-size: 15px;
  font-style: normal;
}

.cuesta-international-page .cu-beckham-toggle,
.elementor-editor-active .cu-beckham-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(20, 157, 149, 0.34);
  border-radius: 50%;
  background: #ffffff;
}

.cuesta-international-page .cu-beckham-toggle::before,
.cuesta-international-page .cu-beckham-toggle::after,
.elementor-editor-active .cu-beckham-toggle::before,
.elementor-editor-active .cu-beckham-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #159d95;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.cuesta-international-page .cu-beckham-toggle::after,
.elementor-editor-active .cu-beckham-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cuesta-international-page .cu-beckham[open] .cu-beckham-toggle::after,
.elementor-editor-active .cu-beckham[open] .cu-beckham-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.cuesta-international-page .cu-beckham-body,
.elementor-editor-active .cu-beckham-body {
  padding: 0 30px 30px 112px;
}

.cuesta-international-page .cu-beckham-body p,
.elementor-editor-active .cu-beckham-body p {
  max-width: 930px;
  margin: 0;
  color: #526065;
  font-size: 17px;
  line-height: 1.65;
}

.cuesta-international-page .cu-beckham-body p + p:not(.cu-beckham-note),
.elementor-editor-active .cu-beckham-body p + p:not(.cu-beckham-note) {
  margin-top: 12px;
}

.cuesta-international-page .cu-nomad,
.elementor-editor-active .cu-nomad {
  background: linear-gradient(135deg, #eef8f8 0%, #ffffff 58%, #f2f5ed 100%);
}

.cuesta-international-page .cu-beckham-body .cu-beckham-note,
.elementor-editor-active .cu-beckham-body .cu-beckham-note {
  margin-top: 10px;
  color: #768084;
  font-size: 14px;
}

.cuesta-international-page .cu-beckham-link,
.elementor-editor-active .cu-beckham-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 12px;
  color: #ffffff;
  background: #263b3d;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.cuesta-international-page .cu-independent-copy,
.elementor-editor-active .cu-independent-copy {
  display: block !important;
}

.cuesta-international-page .cu-insurer-cloud-widget,
.elementor-editor-active .cu-insurer-cloud-widget {
  width: calc(100% + 24px) !important;
  margin: 18px 0 -10px -12px !important;
}

.cuesta-international-page .cu-insurer-cloud,
.cuesta-international-page .cu-insurer-cloud img,
.elementor-editor-active .cu-insurer-cloud,
.elementor-editor-active .cu-insurer-cloud img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .cuesta-international-page .cu-beckham-widget,
  .elementor-editor-active .cu-beckham-widget {
    margin-top: 18px !important;
  }

  .cuesta-international-page .cu-beckham,
  .elementor-editor-active .cu-beckham {
    border-radius: 20px;
  }

  .cuesta-international-page .cu-beckham summary,
  .elementor-editor-active .cu-beckham summary {
    grid-template-columns: 48px minmax(0, 1fr) 30px;
    gap: 12px;
    padding: 20px 16px;
  }

  .cuesta-international-page .cu-beckham-badge,
  .elementor-editor-active .cu-beckham-badge {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 11px;
  }

  .cuesta-international-page .cu-beckham-heading strong,
  .elementor-editor-active .cu-beckham-heading strong {
    font-size: 19px;
  }

  .cuesta-international-page .cu-beckham-heading em,
  .elementor-editor-active .cu-beckham-heading em {
    display: none;
  }

  .cuesta-international-page .cu-beckham-toggle,
  .elementor-editor-active .cu-beckham-toggle {
    width: 30px;
    height: 30px;
  }

  .cuesta-international-page .cu-beckham-body,
  .elementor-editor-active .cu-beckham-body {
    padding: 0 18px 22px;
  }

  .cuesta-international-page .cu-beckham-body p,
  .elementor-editor-active .cu-beckham-body p {
    font-size: 15px;
  }

  .cuesta-international-page .cu-insurer-cloud-widget,
  .elementor-editor-active .cu-insurer-cloud-widget {
    width: 100% !important;
    max-width: 430px;
    margin: 18px auto -4px !important;
  }
}
