/* --------------------------------------------------------------------------
 * Page template: Viajes Incentivos Child
 * -------------------------------------------------------------------------- */

.ek-incentivos-child-page {
  background: var(--ek-bg, #F2EBE4);
}

.ek-incentivos-child-hero {
  padding-top: 50px;
  padding-bottom: 50px;
}

.ek-incentivos-child-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  gap: 46px;
  align-items: center;
}

.ek-incentivos-child-hero__copy {
  max-width: 670px;
}

.ek-incentivos-child-hero__line {
  display: block;
  width: 38px;
  height: 3px;
  margin: 20px 0;
  background: var(--ek-coral);
}

.ek-incentivos-child-hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
}

.ek-incentivos-child-hero h1 span {
  display: block;
}

.ek-incentivos-child-hero h1 em,
.ek-incentivos-child-others h2 em {
  color: var(--ek-coral);
  font-weight: 500;
}

.ek-incentivos-child-hero__copy>p {
  max-width: 600px;
  margin: 13px 0 0;
  color: rgb(22 19 15 / 72%);
  font-size: 15px;
  line-height: 1.68;
}

.ek-incentivos-child-hero__media {
  position: relative;
  margin-right: 20px;
  box-shadow: 14px 14px 0 rgb(245 131 122 / 6%), 0 10px 28px rgb(22 19 15 / 12%);
}

.ek-incentivos-child-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .65s ease;
}

.ek-incentivos-child-hero__media:hover img {
  transform: scale(1.015);
}

.ek-incentivos-child-hero__badge {
  position: absolute;
  left: 30px;
  bottom: -11px;
  min-width: 52px;
  padding: 10px 14px;
  background: var(--ek-coral);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 8px 18px rgb(22 19 15 / 13%);
}

.ek-incentivos-child-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 46px;
  align-items: start;
}

.ek-incentivos-child-content__main {
  display: grid;
  gap: 20px;
}

.ek-incentivos-child-copy-block h2,
.ek-incentivos-child-panel h3,
.ek-incentivos-child-others h2,
.ek-incentivos-child-others h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ek-deep);
  font-weight: 700;
}

.ek-incentivos-child-copy-block h2 {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 500;
}

.ek-incentivos-child-richtext {
  margin-top: 9px;
  color: rgb(22 19 15 / 72%);
  font-size: 15px;
  line-height: 1.65;
}

.ek-incentivos-child-richtext> :first-child {
  margin-top: 0;
}

.ek-incentivos-child-richtext> :last-child {
  margin-bottom: 0;
}

.ek-incentivos-child-aside {
  display: grid;
  gap: 18px;
}

.ek-incentivos-child-panel {
  border: 1px solid rgb(223 211 199 / 95%);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.ek-incentivos-child-panel--sand {
  border-color: transparent;
  background: var(--ek-sand, #E9DFD5);
}

.ek-incentivos-child-panel .ek-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--ek-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ek-incentivos-child-panel h3 {
  font-size: 19px;
  line-height: 1.2;
}

.ek-incentivos-child-panel p {
  margin: 10px 0 0;
  color: rgb(22 19 15 / 70%);
  font-size: 13.5px;
  line-height: 1.62;
}

.ek-incentivos-child-panel ul {
  display: grid;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ek-incentivos-child-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ek-deep);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.ek-incentivos-child-panel li>span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--ek-coral);
  color: #fff;
}

.ek-incentivos-child-gallery {
  padding-top: 50px;
  padding-bottom: 50px;
}

.ek-incentivos-child-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ek-incentivos-child-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
}

.ek-incentivos-child-gallery img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .65s ease;
}

.ek-incentivos-child-gallery figure:hover img {
  transform: scale(1.025);
}

.ek-incentivos-child-others {
  padding-bottom: 50px;
}

.ek-incentivos-child-others h2 {
  margin-bottom: 18px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
}

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

.ek-incentivos-child-others__grid article {
  border: 1px solid rgb(223 211 199 / 95%);
  border-radius: 7px;
  background: #fff;
  padding: 22px;
}

.ek-incentivos-child-others__grid h3 {
  font-size: 17.5px;
  text-transform: none;
  line-height: 1.2;
}

.ek-incentivos-child-others__grid p {
  margin: 9px 0 0;
  color: rgb(22 19 15 / 66%);
  font-size: 13px;
  line-height: 1.58;
}

.ek-incentivos-child-others__grid a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ek-coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.ek-incentivos-child-others__grid a:hover {
  color: var(--ek-teal);
}

@media (max-width: 991px) {
  .ek-incentivos-child-hero__grid,
  .ek-incentivos-child-content__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ek-incentivos-child-hero__media {
    margin-right: 0;
  }

  .ek-incentivos-child-others__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ek-incentivos-child-gallery__grid,
  .ek-incentivos-child-others__grid {
    grid-template-columns: 1fr;
  }

  .ek-incentivos-child-gallery img {
    height: 210px;
  }
}

.ek-incentivos-child-others__grid>.ek-incentivos-destination-card {
  display: block;
  min-width: 0;
  border: 1px solid rgb(223 211 199 / 95%);
  border-radius: 7px;
  background: #fff;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ek-incentivos-child-others__grid>a.ek-incentivos-destination-card:hover,
.ek-incentivos-child-others__grid>a.ek-incentivos-destination-card:focus-visible {
  border-color: var(--ek-coral);
  color: inherit;
  text-decoration: none;
}

.ek-incentivos-child-others__grid>.ek-incentivos-destination-card h3 {
  margin: 0;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.ek-incentivos-child-others__grid>.ek-incentivos-destination-card p {
  text-transform: none;
  font-family: Poppins;
  line-height: 1.55;
  letter-spacing: normal;
  font-weight: 400;
}

.ek-incentivos-child-others__grid .ek-incentivos-destination-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ek-coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.ek-incentivos-child-others__grid>.ek-incentivos-destination-card:hover .ek-incentivos-destination-card__more {
  color: var(--ek-coral);
}

.ek-incentivos-page .ek-incentivos-card-grid {
  display: grid;
  grid-template-columns: repeat(var(--ek-incentivo-card-count, 4), minmax(0, 1fr));
  gap: 16px;
}

.ek-incentivos-page .ek-incentivos-card-grid>a.ek-incentivos-destination-card {
  display: block;
  min-width: 0;
  margin: 0;
  border: 1px solid rgb(223 211 199 / 95%);
  border-radius: 7px;
  background: #fff;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  font-size: inherit;
  font-weight: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ek-incentivos-page .ek-incentivos-card-grid>a.ek-incentivos-destination-card:hover,
.ek-incentivos-page .ek-incentivos-card-grid>a.ek-incentivos-destination-card:focus-visible {
  border-color: var(--ek-coral);
  color: inherit;
  text-decoration: none;
}

.ek-incentivos-page .ek-incentivos-card-grid .ek-incentivos-destination-card h3 {
  margin: 0;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 17.5px;
}

.ek-incentivos-page .ek-incentivos-card-grid .ek-incentivos-destination-card p {
  margin: 9px 0 0;
  color: rgb(22 19 15 / 66%);
  font-family: Poppins, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.ek-incentivos-page .ek-incentivos-card-grid .ek-incentivos-destination-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ek-coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .ek-incentivos-page .ek-incentivos-card-grid {
    grid-template-columns: repeat(min(2, var(--ek-incentivo-card-count, 4)), minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ek-incentivos-page .ek-incentivos-card-grid {
    grid-template-columns: 1fr;
  }
}
