/* Neutral wrappers and controls; the accepted desktop stylesheet is unchanged. */
.md-home-page[data-md-package="home"] .md-home-mobile-picture { display: contents; }
.md-home-page[data-md-package="home"] .md-home-mobile-only { display: none; }

@media (width < 1024px) {
  .md-home-page[data-md-package="home"] > section[class] { min-width: 0; height: auto; overflow: visible; }
  .md-home-page[data-md-package="home"] .md-home__shell,
  .md-home-page[data-md-package="home"] .md-foundation-contact__shell {
    width: min(var(--md-mobile-content-max), calc(100% - 2 * var(--md-mobile-gutter)));
    margin-inline: auto;
  }
  .md-home-page[data-md-package="home"] > section.md-home-hero {
    height: clamp(540px, 168.2667vw, 1200px);
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
  }
  .md-home-page[data-md-package="home"] .md-home-hero__media { object-position: center bottom; }
  .md-home-page[data-md-package="home"] .md-home-hero__slide:nth-child(3) .md-home-hero__media { object-position: center top; }
  .md-home-page[data-md-package="home"] .md-home-hero__copy {
    top: 62.5px;
    width: calc(100% - 2 * var(--md-mobile-gutter));
    max-width: 720px;
  }
  .md-home-page[data-md-package="home"] .md-home-hero__eyebrow { color: #fff; font-size: 16px; line-height: 18.5px; white-space: pre-wrap; }
  .md-home-page[data-md-package="home"] .md-home-hero__copy h1,
  .md-home-page[data-md-package="home"] .md-home-hero__copy h2 { margin-top: 16px; font-size: 20px; line-height: 23px; }
  .md-home-page[data-md-package="home"] .md-home-hero__model { margin-top: 6px; font-size: 30px; line-height: 30px; }
  .md-home-page[data-md-package="home"] .md-home-hero__cta {
    position: relative; z-index: 0; width: 120px; height: 44px; margin-top: 22px;
    font-size: 12px; line-height: 14px; background: transparent;
  }
  .md-home-page[data-md-package="home"] .md-home-hero__cta::before {
    position: absolute; z-index: -1; inset: 8px 0; border-radius: 20px; background: #fff; content: "";
  }
  .md-home-page[data-md-package="home"] .md-home-hero__cta:is(:hover, :active, :focus-visible) { background: transparent; }
  .md-home-page[data-md-package="home"] .md-home-hero__cta:is(:hover, :active)::before { background: #ffd100; }
  .md-home-page[data-md-package="home"] .md-home-hero__controls { display: none; }
  .md-home-page[data-md-package="home"] .md-home-hero__dots {
    position: absolute; z-index: 3; right: 0; bottom: 8.5px; left: 0;
    display: flex; justify-content: center;
  }
  .md-home-page[data-md-package="home"] .md-home-hero__dots button {
    display: grid; width: 24px; height: 44px; margin: 0; padding: 0; border: 0;
    background: transparent; box-shadow: none; place-items: center; cursor: pointer;
  }
  .md-home-page[data-md-package="home"] .md-home-hero__dots button::before { width: 6px; height: 6px; border-radius: 50%; background: #fff6; content: ""; }
  .md-home-page[data-md-package="home"] .md-home-hero__dots button[aria-pressed="true"]::before { background: #ffd100; }
  .md-home-page[data-md-package="home"] .md-home-mobile-only button:focus-visible,
  .md-home-page[data-md-package="home"] button.md-home-mobile-only:focus-visible { outline: 2px solid #ffd100; outline-offset: -3px; }

  .md-home-page[data-md-package="home"] .md-home-story {
    padding-top: 70px;
    background: linear-gradient(#26374f, #010205 140px);
  }
  .md-home-page[data-md-package="home"] .md-home-story__top { height: auto; }
  .md-home-page[data-md-package="home"] .md-home-story__drone {
    position: static; width: 100%; max-width: 654px; height: auto; aspect-ratio: 1308 / 696; margin: 0 auto;
  }
  .md-home-page[data-md-package="home"] .md-home-story__copy {
    position: static; width: 100%; margin-top: 60px; font-size: 14px; line-height: 24px;
  }
  .md-home-page[data-md-package="home"] .md-home-story__copy p { font-size: 14px; line-height: 24px; }
  .md-home-page[data-md-package="home"] .md-home-story__metrics {
    position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 12px; margin: 60px auto 0; transform: none;
  }
  .md-home-page[data-md-package="home"] .md-home-story__metric:nth-child(n) { position: static; min-width: 0; padding: 0; text-align: left; }
  .md-home-page[data-md-package="home"] .md-home-story__metric:nth-child(1) { grid-row: 1; grid-column: 1; }
  .md-home-page[data-md-package="home"] .md-home-story__metric:nth-child(3) { grid-row: 1; grid-column: 2; }
  .md-home-page[data-md-package="home"] .md-home-story__metric:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
  .md-home-page[data-md-package="home"] .md-home-story__metric dt { font-size: 16px; line-height: 18.5px; }
  .md-home-page[data-md-package="home"] .md-home-story__metric dd { margin: 5px 0 0; gap: 7px; letter-spacing: -2.8px; }
  .md-home-page[data-md-package="home"] .md-home-story__metric-number { font-size: 70px; line-height: 70px; }
  .md-home-page[data-md-package="home"] .md-home-story__metric-unit { font-size: 16px; line-height: 18.5px; }
  .md-home-page[data-md-package="home"] .md-home-story__metric-plus { top: -24px; font-size: 45px; line-height: 1; }
  .md-home-page[data-md-package="home"] .md-home-story__metrics-note {
    position: static; width: min(var(--md-mobile-content-max), calc(100% - 2 * var(--md-mobile-gutter)));
    margin: 12px auto 0; font-size: 10px; line-height: 11.5px; text-align: left; transform: none;
  }
  .md-home-page[data-md-package="home"] .md-home-story__map { position: static; width: 100%; height: auto; aspect-ratio: 750 / 516; margin-top: 60px; object-fit: cover; }

  .md-home-page[data-md-package="home"] :is(.md-home-advantages,.md-home-timeline,.md-home-policy,.md-home-applications,.md-home-news) { padding-top: 80px; }
  .md-home-page[data-md-package="home"] :is(.md-home-advantages,.md-home-timeline,.md-home-policy,.md-home-applications,.md-home-news) h2,
  .md-home-page[data-md-package="home"] .md-foundation-contact__title {
    position: static; margin: 0; padding: 0; font-family: var(--md-font-bold); font-size: 24px; font-weight: 400; line-height: 27.5px;
  }
  .md-home-page[data-md-package="home"] .md-home-advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
  .md-home-page[data-md-package="home"] .md-home-advantages__card { min-width: 0; height: auto; min-height: 158.5px; padding: 34px 8px 25px; border-radius: 10px; }
  .md-home-page[data-md-package="home"] .md-home-advantages__card img { width: 40px; height: 40px; }
  .md-home-page[data-md-package="home"] .md-home-advantages__card h3 { margin: 15px 0 0; font-size: 12px; line-height: 18px; }
  .md-home-page[data-md-package="home"] .md-home-advantages__card p { font-size: 12px; line-height: 18px; }

  .md-home-page[data-md-package="home"] .md-home-timeline__years {
    width: 100vw; height: 44px;
    margin: 32px 0 0 calc(-1 * max(var(--md-mobile-gutter),calc((100vw - var(--md-mobile-content-max)) / 2)));
    padding-inline: max(13.5px,calc((100vw - var(--md-mobile-content-max)) / 2 + 13.5px));
    gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  }
  .md-home-page[data-md-package="home"] .md-home-timeline__years::-webkit-scrollbar { display: none; }
  .md-home-page[data-md-package="home"] .md-home-timeline__years button { flex: 0 0 53.5px; width: 53.5px; height: 44px; border-radius: 14px; line-height: 28px; color: #333; }
  .md-home-page[data-md-package="home"] .md-home-timeline__years button img { display: none; }
  .md-home-page[data-md-package="home"] .md-home-timeline__years button .md-home-year__label { display: none; }
  .md-home-page[data-md-package="home"] .md-home-timeline__years button::before { position: absolute; inset: 8px 0; border: 0; border-radius: 14px; background: #fff; content: ""; }
  .md-home-page[data-md-package="home"] .md-home-timeline__years button::after { position: relative; font-size: 12px; content: attr(data-md-home-year); }
  .md-home-page[data-md-package="home"] .md-home-timeline__years button[aria-pressed="true"]::before { border-color: #ffd100; background: #ffd100; }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__viewport,.md-home-policy__viewport) {
    --md-home-carousel-canvas: 100vw;
    --md-home-carousel-inset: max(var(--md-mobile-gutter), calc((100vw - var(--md-mobile-content-max)) / 2));
    --md-home-mobile-card-width: min(600px, calc(100vw - 75px));
    width: 100%; scroll-snap-type: x mandatory; scroll-padding-left: var(--md-home-carousel-inset);
  }
  .md-home-page[data-md-package="home"] .md-home-timeline__viewport { height: var(--md-home-timeline-height, auto); margin-top: 20px; }
  .md-home-page[data-md-package="home"] .md-home-policy__viewport { height: var(--md-home-policy-height, auto); margin-top: 40px; }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__track,.md-home-policy__track) {
    height: auto; gap: 16px; align-items: flex-start;
    padding-right: max(var(--md-mobile-gutter), calc(100vw - var(--md-home-mobile-card-width) - var(--md-home-carousel-inset)));
  }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__card,.md-home-policy__card) {
    width: var(--md-home-mobile-card-width); min-width: var(--md-home-mobile-card-width); height: auto; border-radius: 10px; scroll-snap-align: start;
  }
  .md-home-page[data-md-package="home"] .md-home-timeline__card { position: relative; display: block; }
  .md-home-page[data-md-package="home"] .md-home-timeline__visual,
  .md-home-page[data-md-package="home"] .md-home-timeline__visual img { width: 100%; height: auto; aspect-ratio: 5 / 3; }
  .md-home-page[data-md-package="home"] .md-home-timeline__copy { width: 100%; height: 172px; min-height: 172px; padding: 24px 24px 53px; justify-content: flex-start; }
  .md-home-page[data-md-package="home"] .md-home-timeline__copy strong { font-size: 24px; line-height: 24px; }
  .md-home-page[data-md-package="home"] .md-home-timeline__copy i { display: none; }
  .md-home-page[data-md-package="home"] .md-home-timeline__copy p { display: -webkit-box; margin-top: 8px; max-height: 63px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; flex-shrink: 0; font-size: 14px; line-height: 21px; overflow-wrap: anywhere; }
  .md-home-page[data-md-package="home"] .md-home-timeline__card.is-expanded .md-home-timeline__copy { height: auto; }
  .md-home-page[data-md-package="home"] .md-home-timeline__card.is-expanded .md-home-timeline__copy p { display: block; max-height: none; overflow: visible; -webkit-line-clamp: unset; }
  .md-home-page[data-md-package="home"] .md-home-timeline__expand:not([hidden]) {
    position: absolute; right: 24px; bottom: 11px; display: flex; min-width: 80px; height: 44px; margin: 0; padding: 0;
    align-items: center; justify-content: flex-end; gap: 5px; border: 0; background: transparent; box-shadow: none; color: #60739b; font-size: 12px; line-height: 18px;
  }
  .md-home-page[data-md-package="home"] .md-home-timeline__expand::after { width: 10px; height: 6px; background: currentColor; mask: url('/wp-content/plugins/meituan-drone-home/assets/images/mobile/arrow-down.svg') center / contain no-repeat; content: ""; }
  .md-home-page[data-md-package="home"] .md-home-timeline__expand[aria-expanded="true"]::after { transform: rotate(180deg); }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__controls,.md-home-policy__controls) { height: 44px; margin-top: 25px; gap: 2px; }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__controls,.md-home-policy__controls) button { width: 44px; height: 44px; box-shadow: none; }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__controls,.md-home-policy__controls) button img { display: none; }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__controls,.md-home-policy__controls) button::before {
    position: absolute; inset: 7px; border: 1px solid #666; border-radius: 50%; background: #f5f5f7; box-shadow: none; content: "";
  }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__controls,.md-home-policy__controls) button::after {
    position: absolute; top: 18.5px; width: 6px; height: 6px; border-top: 1px solid #333; border-right: 1px solid #333; content: "";
  }
  .md-home-page[data-md-package="home"] :is([data-md-home-timeline-prev],[data-md-home-policy-prev])::after { left: 19.5px; transform: rotate(-135deg); }
  .md-home-page[data-md-package="home"] :is([data-md-home-timeline-next],[data-md-home-policy-next])::after { right: 19.5px; transform: rotate(45deg); }
  .md-home-page[data-md-package="home"] :is(.md-home-timeline__controls,.md-home-policy__controls) button:not(:disabled):is(:hover,:focus-visible)::before { border-color: #ffd100; background: #ffd100; }
  .md-home-page[data-md-package="home"] .md-home-timeline__years button:focus-visible { outline-offset: -3px; }

  .md-home-page[data-md-package="home"] .md-home-policy__card {
    --md-home-policy-copy-height: 109px;
    --md-home-policy-action-height: 48px;
    position: relative; display: block; height: auto; min-height: 0; padding-bottom: var(--md-home-policy-action-height);
  }
  .md-home-page[data-md-package="home"] .md-home-policy__visual { width: 100%; height: auto; aspect-ratio: 5 / 3; box-shadow: none; }
  .md-home-page[data-md-package="home"] .md-home-policy__card > p {
    display: -webkit-box; box-sizing: border-box; height: var(--md-home-policy-copy-height); max-height: var(--md-home-policy-copy-height);
    margin: 0; padding: 24px 24px 0; overflow: hidden; flex: 0 0 var(--md-home-policy-copy-height);
    font-size: 14px; line-height: 21px; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
  }
  .md-home-page[data-md-package="home"] .md-home-policy__card.is-expanded > p { display: block; height: auto; max-height: none; overflow: visible; flex-basis: auto; -webkit-line-clamp: unset; }
  .md-home-page[data-md-package="home"] .md-home-policy__expand:not([hidden]) {
    position: absolute; right: 24px; bottom: 0; display: flex; min-width: 80px; height: var(--md-home-policy-action-height); margin: 0; padding: 0; align-items: center; justify-content: flex-end; gap: 5px;
    border: 0; background: transparent; color: #60739b; font-size: 12px; line-height: 18px; box-shadow: none;
  }
  .md-home-page[data-md-package="home"] .md-home-policy__expand::after { width: 10px; height: 6px; background: currentColor; mask: url('/wp-content/plugins/meituan-drone-home/assets/images/mobile/arrow-down.svg') center / contain no-repeat; content: ""; }
  .md-home-page[data-md-package="home"] .md-home-policy__expand[aria-expanded="true"]::after { transform: rotate(180deg); }
  .md-home-page[data-md-package="home"] .md-home-policy__zoom { top: auto; right: 12px; bottom: 12px; left: auto; width: 24px; height: 24px; opacity: 1; transform: none; }
  .md-home-page[data-md-package="home"] .md-home-policy__visual:hover .md-home-policy__image { filter: none; transform: none; }
  .md-home-page[data-md-package="home"] .md-home-policy-modal { padding: 0; }
  .md-home-page[data-md-package="home"] .md-home-policy-modal__dialog { width: 100%; max-width: none; height: auto; max-height: calc(100dvh - 120px); aspect-ratio: auto; }
  .md-home-page[data-md-package="home"] .md-home-policy-modal__dialog > img { width: 100%; height: auto; max-height: calc(100dvh - 120px); object-fit: contain; }
  .md-home-page[data-md-package="home"] .md-home-policy-modal__close { top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 44px; height: 44px; }
  .md-home-page[data-md-package="home"] .md-home-policy-modal__close img { width: 44px; height: 44px; }

  .md-home-page[data-md-package="home"] .md-home-applications__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
  .md-home-page[data-md-package="home"] .md-home-applications__card { height: auto; border-radius: 10px; }
  .md-home-page[data-md-package="home"] .md-home-applications__media { width: 100%; height: auto; aspect-ratio: 654 / 440; }
  .md-home-page[data-md-package="home"] .md-home-applications__card:hover .md-home-applications__media,
  .md-home-page[data-md-package="home"] .md-home-applications__card:focus-within .md-home-applications__media { transform: none; }
  .md-home-page[data-md-package="home"] .md-home-applications__body { height: auto; padding: 24px 24px 4px; }
  .md-home-page[data-md-package="home"] .md-home-applications__body h3 { color: #333; font-size: 18px; line-height: 21px; }
  .md-home-page[data-md-package="home"] .md-home-applications__body p { width: 100%; margin-top: 10px; color: #333; font-size: 14px; line-height: 21px; }
  .md-home-page[data-md-package="home"] .md-home-applications__links { position: static; display: flex; margin-top: 8px; flex-direction: column; gap: 0; }
  .md-home-page[data-md-package="home"] .md-home-applications__pill { width: 100%; min-height: 53.5px; height: auto; padding: 15px 18px 15px 0; justify-content: space-between; border: 0; border-radius: 0; font-size: 12px; line-height: 18px; color: #333; }
  .md-home-page[data-md-package="home"] a.md-home-applications__pill:is(:hover, :active, :focus-visible) { background: transparent; border-color: #d2d2d7; color: #333; }
  .md-home-page[data-md-package="home"] a.md-home-applications__pill:focus-visible { outline: 2px solid #60739b; outline-offset: -2px; }
  .md-home-page[data-md-package="home"] .md-home-applications__pill + .md-home-applications__pill { border-top: .5px solid #d2d2d7; }
  .md-home-page[data-md-package="home"] .md-home-applications__pill::after { flex: 0 0 6px; width: 6px; height: 12px; margin-right: -18px; background: currentColor; mask: url('/wp-content/plugins/meituan-drone-home/assets/images/mobile/arrow-right.svg') center / contain no-repeat; content: ""; }

  .md-home-page[data-md-package="home"] .md-home-news { padding-bottom: 80px; }
  .md-home-page[data-md-package="home"] .md-home-news__heading { padding: 0; }
  .md-home-page[data-md-package="home"] .md-home-news__more { position: static; display: flex; width: max-content; min-height: 44px; margin: 5px auto 0; align-items: center; transform: none; }
  .md-home-page[data-md-package="home"] .md-home-news__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
  .md-home-page[data-md-package="home"] .md-home-news__card { height: auto; min-height: 358.5px; border-radius: 10px; }
  .md-home-page[data-md-package="home"] .md-home-news__card > img { width: 100%; height: auto; aspect-ratio: 654 / 440; }
  .md-home-page[data-md-package="home"] .md-home-news__card:hover > img,
  .md-home-page[data-md-package="home"] .md-home-news__card:focus-within > img { transform: none; }
  .md-home-page[data-md-package="home"] .md-home-news__card-body { height: auto; min-height: 138.5px; padding: 24px 24px 12px; }
  .md-home-page[data-md-package="home"] .md-home-news__card-body .md-home-news__tags { font-size: 12px; line-height: 18px; white-space: normal; }
  .md-home-page[data-md-package="home"] .md-home-news__card-body h3 { display: block; margin-top: 8px; overflow: visible; color: #333; font-size: 16px; line-height: 24px; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
  .md-home-page[data-md-package="home"] .md-home-news__card-body .md-home__text-control { position: static; display: flex; width: max-content; min-height: 44px; margin: 8px 0 0 auto; align-items: center; }
  .md-home-page[data-md-package="home"] .md-home__text-control { font-size: 12px; line-height: 18px; }

  .md-home-page[data-md-package="home"] > .md-foundation-contact { padding: 80px 0; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__grid { width: 100%; margin-top: 38.5px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__card { width: 100%; height: auto; min-height: 222.5px; padding: 32px; border-radius: 10px; box-shadow: none; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__copy { height: auto; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__card-title { font-size: 20px; line-height: 25px; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__description { width: 100%; margin-top: 10px; font-size: 14px; line-height: 21px; overflow-wrap: anywhere; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__description br { display: none; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__action { position: relative; z-index: 0; min-width: 90px; height: 44px; margin-top: 38px; padding: 0 17px; font-size: 14px; line-height: 20px; background: transparent; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__action::before { position: absolute; z-index: -1; inset: 4px 0; border-radius: 20px; background: #ffd100; content: ""; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__action:hover { background: transparent; }
  .md-home-page[data-md-package="home"] .md-foundation-contact__action:hover::before { background: #face24; }
}
