/* Premium guide-map CTA shortcode: [ht_guide_map_cta] */
.ht-guide-map-cta {
  --ht-guide-map-photo: url("https://hiking-tenerife.com/wp-content/uploads/2019/08/20190806-DSC_6296.jpg");
  --ht-guide-map-ink: #17231d;
  --ht-guide-map-muted: #5a635d;
  --ht-guide-map-paper: #fbfaf5;
  --ht-guide-map-cream: #f1eadc;
  --ht-guide-map-green: #255f4c;
  --ht-guide-map-border: #d8d0bf;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(300px, 0.94fr) minmax(360px, 1.06fr);
  max-width: 1040px;
  min-height: 456px;
  margin: 42px auto;
  overflow: hidden;
  border: 1px solid var(--ht-guide-map-border);
  border-radius: 8px;
  background: var(--ht-guide-map-paper);
  box-shadow: 0 20px 50px rgba(35, 43, 38, 0.13);
  color: var(--ht-guide-map-ink);
  font-family: "Montserrat", Arial, sans-serif;
}

.ht-guide-map-cta *,
.ht-guide-map-cta *::before,
.ht-guide-map-cta *::after {
  box-sizing: border-box;
}

.ht-guide-map-cta__visual {
  position: relative;
  min-height: 456px;
  overflow: hidden;
  background:
	linear-gradient(120deg, rgba(23, 35, 29, 0.55), rgba(23, 35, 29, 0.06) 58%),
	var(--ht-guide-map-photo) center / cover no-repeat;
  isolation: isolate;
}

.ht-guide-map-cta__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(23, 35, 29, 0), rgba(23, 35, 29, 0.45));
  pointer-events: none;
  z-index: 1;
}

.ht-guide-map-cta__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  max-width: 180px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(251, 250, 245, 0.93);
  color: #26362c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.ht-guide-map-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 48px 46px;
  background:
	linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7)),
	linear-gradient(180deg, var(--ht-guide-map-paper), var(--ht-guide-map-cream));
}

.ht-guide-map-cta__title {
  max-width: 520px;
  margin: 0;
  color: var(--ht-guide-map-ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.34rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: none;
}

.ht-guide-map-cta__text {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--ht-guide-map-muted);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}

.ht-guide-map-cta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ht-guide-map-cta__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(37, 95, 76, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #2b4338;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.ht-guide-map-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 30px 0 0;
}

.ht-guide-map-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  max-width: 100%;
  padding: 14px 22px;
  border-radius: 8px;
  background: var(--ht-guide-map-green);
  color: #fff !important;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  box-shadow: 0 12px 24px rgba(37, 95, 76, 0.22);
}

.ht-guide-map-cta__button:hover,
.ht-guide-map-cta__button:focus {
  background: #1f4f40;
  color: #fff !important;
  text-decoration: none !important;
}

.ht-guide-map-cta__note {
  max-width: 230px;
  margin: 0;
  color: #62706a;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .ht-guide-map-cta {
	grid-template-columns: 1fr;
	max-width: 620px;
	min-height: 0;
	margin: 34px auto;
  }

  .ht-guide-map-cta__visual {
	min-height: 340px;
  }

  .ht-guide-map-cta__content {
	padding: 34px 30px 36px;
  }

  .ht-guide-map-cta__title {
	font-size: 1.86rem;
	line-height: 1.12;
  }
}

@media (max-width: 560px) {
  .ht-guide-map-cta {
	margin: 28px 0;
	border-right: 0;
	border-left: 0;
	border-radius: 0;
	box-shadow: 0 16px 34px rgba(35, 43, 38, 0.1);
  }

  .ht-guide-map-cta__visual {
	min-height: 284px;
  }

  .ht-guide-map-cta__badge {
	left: 14px;
	bottom: 14px;
	max-width: 150px;
	padding: 8px 10px;
	font-size: 0.7rem;
  }

  .ht-guide-map-cta__content {
	padding: 28px 22px 30px;
  }

  .ht-guide-map-cta__title {
	font-size: 1.58rem;
	line-height: 1.16;
  }

  .ht-guide-map-cta__text {
	margin-top: 14px;
	font-size: 0.96rem;
	line-height: 1.62;
  }

  .ht-guide-map-cta__chips {
	gap: 8px;
	margin-top: 20px;
  }

  .ht-guide-map-cta__chip {
	min-height: 32px;
	font-size: 0.78rem;
  }

  .ht-guide-map-cta__actions {
	display: block;
	margin-top: 24px;
  }

  .ht-guide-map-cta__button {
	width: 100%;
	min-height: 50px;
	padding-right: 18px;
	padding-left: 18px;
  }

  .ht-guide-map-cta__note {
	max-width: none;
	margin-top: 12px;
	text-align: center;
  }
}
