/* MLE homepage-only presentation. Enqueued only on is_front_page(). */
.ml-maldives-intro .ml-section-head .lead,
.ml-maldives-intro .ml-maldives-intro__lead,
.ml-maldives-intro .ml-maldives-intro__facts article p {
  font-size: 17px;
  line-height: 1.75;
}

.ml-home-season .ml-section-head .lead {
  max-width: 820px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.75;
}

.ml-home-season__table {
  margin: 0 0 28px;
  overflow-x: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(24, 42, 56, .08);
}

.ml-home-season__table table {
  min-width: 720px;
  margin: 0;
}

.ml-home-season__table > .ml-table-scroll {
  margin-block: 0;
  border-radius: inherit;
}

.ml-home-season__table th,
.ml-home-season__table td {
  padding: 17px 20px;
  vertical-align: top;
  line-height: 1.65;
}

.ml-home-season__table th {
  background: #183f55;
  color: #fff;
  font-weight: 600;
}

.ml-home-season__choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ml-home-season__choices article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(169, 130, 44, .18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(24, 42, 56, .06);
}

.ml-home-season__choices small {
  color: #8a6a1f;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.ml-home-season__choices strong {
  margin-top: 8px;
  color: #183f55;
  font-family: inherit;
  font-size: 1.75rem;
  line-height: 1.2;
}

.ml-home-season__choices p {
  margin: 12px 0 18px;
  color: #51616c;
  font-size: .95rem;
  line-height: 1.65;
}

.ml-home-season__choices a {
  margin-top: auto;
  font-weight: 600;
}

.ml-home-season__note {
  margin: 24px auto 0;
  max-width: 900px;
  color: #51616c;
  font-size: .9rem;
  line-height: 1.7;
  text-align: center;
}

.ml-popular-resorts__basis {
  max-width: 780px;
  margin: 12px 0 0;
  color: #51616c;
  font-size: 17px;
  line-height: 1.75;
}

.ml-home-destinations .ml-destinations-intro,
.ml-section[data-nav-label="上島交通"] .ml-section-head .lead {
  font-size: 17px;
  line-height: 1.75;
}

.ml-resort-search {
  position: relative;
  z-index: 20;
  width: min(600px, 100%);
  margin: 0 0 22px;
}

.ml-resort-search__form,
.ml-resort-search__field {
  position: relative;
}

.ml-resort-search__field {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 5px 6px 5px 18px;
  border: 1px solid rgba(24, 42, 56, .18);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(24, 42, 56, .08);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ml-resort-search__field:focus-within {
  border-color: rgba(182, 145, 68, .72);
  box-shadow: 0 0 0 3px rgba(182, 145, 68, .12), 0 5px 16px rgba(24, 42, 56, .1);
}

.ml-resort-search__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  fill: none;
  stroke: #182a38;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.ml-resort-search__input {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #182a38;
  font: inherit;
  font-size: 16px;
}

.ml-resort-search__input::placeholder {
  color: #7a8790;
  opacity: 1;
}

.ml-resort-search__input::-webkit-search-cancel-button {
  margin-right: 8px;
}

.ml-resort-search__accent {
  width: 1px;
  height: 26px;
  margin-inline: 12px;
  background: #c5a454;
}

.ml-resort-search__submit {
  min-width: 96px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #182a38;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.ml-resort-search__submit:hover,
.ml-resort-search__submit:focus-visible {
  background: #0c5c84;
}

.ml-resort-search__submit:active {
  transform: translateY(1px);
}

.ml-resort-search__results {
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(24, 42, 56, .14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(24, 42, 56, .16);
}

.ml-resort-search__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #182a38;
  font: inherit;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.ml-resort-search__option:hover,
.ml-resort-search__option.is-active {
  background: #f4f0e4;
}

.ml-resort-search__option-arrow {
  flex: 0 0 auto;
  color: #a9822c;
  font-size: 20px;
}

.ml-resort-search__empty {
  margin: 0;
  padding: 12px 14px;
  color: #5f6f7a;
  line-height: 1.6;
}

.ml-resort-search__empty a {
  color: #182a38;
  font-weight: 700;
}

/* Destination guide cards: clear imagery with editorial details below. */
.ml-maldives-intro__map {
  background: transparent;
}

.ml-maldives-intro__map img {
  mix-blend-mode: multiply;
}

.ml-home-destinations .ml-destmenu-grid {
  align-items: stretch;
}

.ml-home-destinations .ml-destcard {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border: 1px solid rgba(24, 42, 56, .09);
  border-radius: 16px;
  background: transparent;
  color: #182a38;
  box-shadow: 0 10px 28px rgba(24, 42, 56, .09);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease;
}

.ml-home-destinations .ml-destcard:hover,
.ml-home-destinations .ml-destcard:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(24, 42, 56, .18);
}

.ml-home-destinations .ml-destcard::after {
  display: none;
}

.ml-home-destinations .ml-destcard > img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transform: none;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.ml-home-destinations .ml-destcard:hover > img,
.ml-home-destinations .ml-destcard:focus-within > img {
  transform: scale(1.07);
}

.ml-home-destinations .ml-destcard__body {
  position: relative;
  inset: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 98px;
  padding: 14px 18px 12px;
  background: #fff;
  color: #5f6f7a;
}

.ml-home-destinations .ml-destcard__body h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0;
  color: #182a38;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 1.05rem + .65vw, 1.65rem);
  line-height: 1.25;
  text-shadow: none;
}
.ml-home-destinations .ml-destcard__body h3::after {
  content: "→";
  flex: 0 0 auto;
  color: #a9822c;
  font-family: var(--f-body);
  font-size: .85em;
  line-height: 1;
  transition: transform .3s ease;
}
.ml-home-destinations .ml-destcard:hover .ml-destcard__body h3::after,
.ml-home-destinations .ml-destcard:focus-within .ml-destcard__body h3::after {
  transform: translateX(5px);
}
@media (prefers-reduced-motion: reduce) {
  .ml-home-destinations .ml-destcard,
  .ml-home-destinations .ml-destcard > img,
  .ml-home-destinations .ml-destcard__body h3::after {
    transition: none;
  }
  .ml-home-destinations .ml-destcard:hover,
  .ml-home-destinations .ml-destcard:focus-within,
  .ml-home-destinations .ml-destcard:hover > img,
  .ml-home-destinations .ml-destcard:focus-within > img,
  .ml-home-destinations .ml-destcard:hover .ml-destcard__body h3::after,
  .ml-home-destinations .ml-destcard:focus-within .ml-destcard__body h3::after {
    transform: none;
  }
}

.ml-home-destinations .ml-destcard .en {
  display: none;
}

.ml-home-destinations .ml-destcard__links {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
}

.ml-home-destinations .ml-destcard__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .34rem .65rem;
  border: 1px solid rgba(169, 130, 44, .25);
  border-radius: 999px;
  background: #fbf8ef;
  color: #314452;
  font-size: var(--fs-sm);
  line-height: 1.2;
  text-shadow: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.ml-home-destinations .ml-destcard__links a:hover,
.ml-home-destinations .ml-destcard__links a:focus-visible {
  border-color: #a9822c;
  background: #f4eddb;
  color: #182a38;
}

@media (max-width: 960px) {
  .ml-home-season__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ml-home-season__table {
    margin: 0 0 24px;
    border-radius: 14px;
  }

  .ml-home-season__table th,
  .ml-home-season__table td {
    padding: 14px 16px;
  }

  .ml-home-season__choices {
    grid-template-columns: 1fr;
  }

  .ml-home-season__choices article {
    padding: 21px;
  }

  .ml-home-destinations .ml-destcard__body h3 {
    font-size: 1.75rem;
  }

  .ml-home-destinations .ml-destcard__links a {
    min-height: 2.125rem;
    padding: .4rem .75rem;
    font-size: var(--fs-sm);
  }
  .ml-home-destinations .ml-destcard {
    min-height: 0;
  }

  .ml-home-destinations .ml-destcard__body {
    min-height: 96px;
    padding: 14px 16px 12px;
  }


  .ml-resort-search {
    width: 100%;
    margin-bottom: 18px;
  }

  .ml-resort-search__field {
    min-height: 54px;
    padding-left: 14px;
  }

  .ml-resort-search__icon {
    width: 21px;
    height: 21px;
    margin-right: 9px;
  }

  .ml-resort-search__input {
    height: 42px;
    font-size: 15px;
  }

  .ml-resort-search__accent {
    margin-inline: 8px;
  }

  .ml-resort-search__submit {
    min-width: 76px;
    min-height: 42px;
    padding-inline: 16px;
  }

  .ml-section[data-nav-label="精選優惠"] .ml-scroll {
    padding-inline: 24px;
    scroll-padding-inline: 24px;
  }

  .ml-section[data-nav-label="精選優惠"] .ml-card__body {
    padding-inline: 28px;
  }

  .ml-section[data-nav-label="精選優惠"] .ml-card__meta,
  .ml-section[data-nav-label="精選優惠"] .ml-card__body p {
    font-size: 0.9375rem;
  }

  .ml-section[data-nav-label="精選優惠"] .ml-card__body h3 {
    font-size: 1.25rem;
  }
}
/* Desktop-only destination cards: tall photographic layout. */
@media (min-width: 1025px) {
  .ml-home-destinations .ml-destcard {
    position: relative;
    display: block;
    min-height: 0;
    aspect-ratio: 3 / 4;
    border: 0;
    outline: 0;
    background: transparent;
  }

  .ml-home-destinations .ml-destcard::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background: linear-gradient(180deg, rgba(8, 17, 28, .02) 34%, rgba(8, 17, 28, .28) 58%, rgba(8, 17, 28, .94) 100%);
    pointer-events: none;
  }

  .ml-home-destinations .ml-destcard > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .ml-home-destinations .ml-destcard__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    min-height: 0;
    padding: clamp(22px, 2vw, 32px);
    background: transparent;
    color: #fff;
  }

  .ml-home-destinations .ml-destcard__body h3 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  }

  .ml-home-destinations .ml-destcard__body h3::after {
    display: none;
  }

  .ml-home-destinations .ml-destcard__links {
    margin-top: 8px;
    padding-top: 0;
  }

  .ml-home-destinations .ml-destcard__links a {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .35);
    backdrop-filter: blur(4px);
  }

  .ml-home-destinations .ml-destcard__links a:hover,
  .ml-home-destinations .ml-destcard__links a:focus-visible {
    border-color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .2);
    color: #fff;
  }

  .ml-home-destinations .ml-destcard__cover::after {
    content: "\2192";
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    backdrop-filter: blur(4px);
    transition: transform .25s ease, background-color .25s ease;
  }

  .ml-home-destinations .ml-destcard__cover:hover::after,
  .ml-home-destinations .ml-destcard__cover:focus-visible::after {
    transform: translateX(4px);
    background: rgba(255, 255, 255, .2);
  }

  /* Keep each landscape photo's subject centered inside the portrait crop. */
  .ml-home-destinations .ml-destcard:nth-child(1) > img { object-position: 50% 50%; }
  .ml-home-destinations .ml-destcard:nth-child(2) > img { object-position: 50% 55%; }
  .ml-home-destinations .ml-destcard:nth-child(3) > img { object-position: 50% 62%; }
  .ml-home-destinations .ml-destcard:nth-child(4) > img { object-position: 50% 50%; }
  .ml-home-destinations .ml-destcard:nth-child(5) > img { object-position: 72% 50%; }
  .ml-home-destinations .ml-destcard:nth-child(6) > img { object-position: 55% 52%; }
  .ml-home-destinations .ml-destcard:nth-child(7) > img { object-position: 50% 55%; }
  .ml-home-destinations .ml-destcard:nth-child(8) > img { object-position: 88% 50%; }

  .ml-home-destinations .ml-destcard:nth-child(3) .ml-destcard__links {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .ml-home-destinations .ml-destcard:nth-child(3) .ml-destcard__links a {
    padding-inline: .55rem;
    white-space: nowrap;
  }
}
.ml-sec-popular-resorts .ml-card__transfers {
	display: none !important;
}
