/* Viajes a medida */

.ek-medida-page {
  background: var(--ek-bg, #f2ebe4)
}

.ek-medida-hero {
  position: relative;
  display: flex;
  align-items: end;
  background-size: cover;
  background-position: center;
  color: white
}

.ek-medida-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 15, 13, .95), rgba(17, 15, 13, .16))
}

.ek-medida-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px
}

.ek-medida-hero h1 {
  max-width: 800px;
  color: white;
  font: 700 clamp(2rem, 4vw, 3rem)/1.09 'Playfair Display', Georgia, serif;
  margin: 11px 0 15px 0;
}

.ek-medida-page h1 em,
.ek-medida-page h2 em {
  color: var(--ek-coral, #f78179);
  font-weight: 500
}

.ek-medida-hero p {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}

.ek-medida-page .ek-eyebrow {
  color: var(--ek-coral, #f78179);
  font-size: 11px;
  margin-top: 20px;
}

.ek-medida-block {
  padding-top: 50px;
  padding-bottom: 50px
}

.ek-medida-process__intro {
  color: #1e1b18bf;
  max-width: 65%;
  margin-bottom: 45px;
}

.ek-medida-block h2 {
  font: 700 clamp(26px, 2.6vw, 35px)/1.22 'Playfair Display', Georgia, serif;
  margin: 7px 0 25px 0;
  max-width: 650px;
}

.ek-medida-process {
  background: #171410;
  border-radius: 24px;
  color: white;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ek-medida-step {
  display: flex;
  gap: 13px
}

.ek-medida-step__num {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--ek-coral, #f78179);
  text-align: center;
  line-height: 32px;
  font-weight: 700
}

.ek-medida-step h3 {
  font: 700 16px 'Playfair Display', Georgia, serif;
  color: white;
  margin: 0 0 5px
}

.ek-medida-step p {
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
  color: #e2d7cf
}

.ek-medida-page .ek-private-form-section__inner {
  grid-template-columns: .68fr 1.2fr;
  padding: 15px;
  gap: 0;
  background: #171410
}

.ek-medida-page .ek-private-form-section__copy {
  padding: 45px;
  align-self: center
}

.ek-medida-page .ek-private-form-section__form {
  border-radius: 0;
  padding: 35px
}

.ek-medida-trips {
    padding-top:30px;
  background: white
}

.ek-medida-trips .ek-salidas-filters {
  margin: 25px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.ek-medida-page [data-ek-salidas-extra][hidden] {
  display: none !important
}

.ek-medida-page .ek-home-trip-card__departures div:empty {
  display: none
}

.ek-medida-columns {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 46px;
  align-items: center
}

.ek-medida-columns img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 24px
}

.ek-medida-rich p {
  margin: 0 0 16px;
  line-height: 1.65;
  font-size: 15px;
  color: #1e1b18bf;
}

.ek-medida-benefits {
  background: white
}

.ek-medida-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px
}

.ek-medida-benefit {
  background: #f2ebe4;
  padding: 21px;
  border-radius: 17px
}

.ek-medida-benefit__icon {
  display: inline-flex;
  border-radius: 100%;
  background: #f7dcd6;
  color: var(--ek-coral);
  padding: 9px
}

.ek-medida-benefit h3 {
  font: 700 18px 'Playfair Display', Georgia, serif;
  margin: 18px 0 8px
}

.ek-medida-benefit p {
  font-size: 13.5px;
  color: #1e1b18b3;
  line-height: 1.6;
  margin-bottom: 0;
}

@media(max-width:900px) {

  .ek-medida-process,
  .ek-medida-benefits__grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .ek-medida-columns,
  .ek-medida-page .ek-private-form-section__inner {
    grid-template-columns: 1fr
  }
}

@media(max-width:560px) {

  .ek-medida-process,
  .ek-medida-benefits__grid {
    grid-template-columns: 1fr
  }

  .ek-medida-hero {
    min-height: 350px
  }
  
  .ek-medida-process__intro {
      max-width: 100%;
      font-size: 15px;
  }

  .ek-medida-page .ek-private-form-section__copy {
    padding: 26px
  }

  .ek-medida-page .ek-private-form-section__form {
    padding: 22px
  }
}

.ek-medida-trips .ek-salidas-filters button {
  appearance: none;
  border: 1px solid #dfd3c7;
  border-radius: 100px;
  background: #fff;
  color: #372b25;
  padding: 10px 16px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  cursor: pointer
}

.ek-medida-trips .ek-salidas-filters button.is-active,
.ek-medida-trips .ek-salidas-filters button:hover {
  background: #40989a;
  border-color: #40989a;
  color: #fff
}

.ek-medida-page .ek-medida-process__intro {
  margin-bottom: 24px
}

.ek-medida-page .ek-medida-step.ek-activity-step {
  gap: 14px
}

.ek-medida-page .ek-medida-step__num.ek-activity-step__number {
  line-height: normal;
  text-align: center
}

.ek-medida-page .ek-activity-inquiry__form.ek-cf7-card {
  border-radius: 22px;
  background: var(--ek-cream);
}

.ek-custom {
    background: white;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.ek-medida-benefits {
    padding-bottom:0;
}

.ek-custom .ek-medida-columns,
.ek-custom .ek-incentivos-cta__inner {
    margin: 0 auto;
    max-width: 1240px;
    padding-left: 30px;
    padding-right: 30px;
}

.ek-custom .ek-incentivos-cta__inner {
    max-width: 1180px;
}
.ek-custom .ek-eyebrow {
    margin-top: 0;
}

.ek-medida-block.ek-custom + .ek-medida-block.ek-custom .ek-medida-columns > div {
    order: 1;
}
.ek-medida-block.ek-custom + .ek-medida-block.ek-custom {
    padding-top: 0;
}

.ek-medida-trips .ek-salidas-card-wrap {
  display: flex
}

.ek-medida-trips .ek-salidas-card-wrap[hidden] {
  display: none !important
}

.ek-medida-trips .ek-salidas-card-wrap>.ek-trip-card {
  width: 100%;
  display: flex;
  flex-direction: column
}

.ek-medida-trips .ek-home-trip-card__head {
  display: flex;
  flex-direction: column
}

.ek-medida-trips .ek-home-trip-card__head h3 {
  margin: 0;
}

.ek-medida-trips .ek-home-trip-card__price-row {
  margin-top: auto;
  padding-top: 12px
}

.ek-medida-trips .ek-home-trip-card__details {
  display: flex;
  flex-direction: column
}

.ek-medida-trips .ek-home-trip-card__highlights {
  align-content: flex-start;
  margin-top: auto
}

.ek-medida-trips .ek-home-trip-card__footer {
  margin-top: auto;
  min-height: 0;
}

.ek-medida-rich--above {
  margin-bottom: 25px
}

@media(max-width:900px) {
  .ek-medida-page .ek-medida-process.ek-activity-steps__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .ek-medida-hero__inner {
      padding-bottom: 30px;
  }
}

@media(max-width:560px) {
  .ek-medida-page .ek-medida-process.ek-activity-steps__inner {
    grid-template-columns: 1fr;
    padding: 26px 22px
  }
}

.ek-medida-trips .ek-medida-filter-panel {
  background: #f2ece6;
  border-radius: 22px;
  padding: 18px;
  gap: 8px;
  align-items: center
}

@media(max-width:640px) {
  .ek-medida-trips .ek-medida-filter-panel {
    padding: 12px;
    border-radius: 16px
  }
}

.ek-medida-page:not(.ek-cruceros-page) .ek-activity-breadcrumb strong,
.ek-medida-page:not(.ek-cruceros-page) .ek-activity-breadcrumb a:hover {
  color: var(--ek-cream);
}

.ek-medida-page:not(.ek-cruceros-page) .ek-activity-breadcrumb a,
.ek-medida-page:not(.ek-cruceros-page) .ek-activity-breadcrumb span {
  color: #dfd3c7;
}

.ek-medida-page .ek-private-form-section {
    padding-top: 50px;
  padding-bottom: 50px;
}

.ek-medida-page .ek-private-form-section .wpcf7-form .wpcf7-submit {
  background-image: none !important;
}

.ek-medida-trips .ek-eyebrow {
  margin: 0;
}

.ek-medida-trips .ek-home-trip-card__departures>small {
  opacity: 0.8;
  font-size: 11.5px;
}

.ek-rich-h2 {
  font-size: 29px !important;
}

.page-template-viajes-a-medida {
    background: white;
}

.ek-medida-benefits h2 {
  font-size: 29px;
  margin-top: 0;
}

.ek-medida-trips .ek-incentivos-cta h2 {
  max-width: 650px;
}

.ek-medida-trips .ek-incentivos-cta p {
  margin: 15px 0 0;
}

/* Viajes a medida: numbered steps beside the inquiry form */
.ek-medida-page .ek-medida-form-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
}

.ek-medida-page .ek-medida-form-steps__item {
  display: flex;
  align-items: center;
  gap: 12px;
      color: #fffaf6d9;
    font-size: 13.5px;
  line-height: 1.45;
}

.ek-medida-page .ek-medida-form-steps__item .ek-medida-step__num {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  line-height: 24px;
  font-size: 12px;
  color: #fff;
}
