/* 모바일 청약·분양 */
.sales-mobile { display: none; }
@media (max-width: 1024px) {
  html body.page-sales-prep:not(.calculator-page) .prep-main { width: 100%; max-width: none; margin: 0; padding: 0; color: var(--responsive-color-191e28); }
  html body.page-sales-prep:not(.calculator-page) .prep-main > :not(.sales-mobile) { display: none; }
  html body.page-sales-prep .sales-mobile { display: block; }
  html body.page-sales-prep .sales-mobile-nav { position: sticky; top: 88px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 0 16px; background: var(--responsive-color-ff1725); color: #ffb7bb; overflow-x: auto; scrollbar-width: none; }
  html body.page-sales-prep .sales-mobile-nav a { flex: 0 0 auto; font-size: 14px; line-height: 36px; white-space: nowrap; font-weight: 700; }
  html body.page-sales-prep .sales-mobile-nav a.is-active { color: #fff; font-weight: 700; }
  html body.page-sales-prep .sales-mobile-hero { position: relative; display: block; aspect-ratio: 880/495; background: var(--responsive-color-1e1e1f); color: white; }
  html body.page-sales-prep .sales-mobile-hero img { width: 100%; height: 100%; object-fit: cover; }
  html body.page-sales-prep .sales-mobile-hero h1 { position: absolute; inset: auto 0 0; margin: 0; padding: 44px 16px 18px; background: linear-gradient(transparent,#000b); font-size: 22px; line-height: 1.45; color: white; }
  html body.page-sales-prep .sales-mobile-lead-group { padding: 6px 16px 0; box-sizing: border-box; }
  html body.page-sales-prep .sales-mobile-row { display: grid; grid-template-columns: 31.5% minmax(0,1fr); gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid #e5e5e5; text-decoration: none; }
  html body.page-sales-prep .sales-mobile-row:last-child { border-bottom: 0; }
  html body.page-sales-prep .sales-mobile-row img,html body.page-sales-prep .sales-image-pending { border-radius: 8px; display: block; width: 100%; aspect-ratio: 1.42; object-fit: cover; }
  html body.page-sales-prep .sales-mobile-row strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16px; line-height: 23px; font-weight: 700; white-space: pre-line; }
  html body.page-sales-prep .sales-mobile-row small { display: block; font-size: 14px; line-height: 20px; color: #777; margin-top: 7px; }
  html body.page-sales-prep .sales-mobile-dots { display: flex; justify-content: center; gap: 5px; padding: 8px 0 24px; }
  html body.page-sales-prep .sales-mobile-dots button { width: 7px; height: 7px; min-width: 7px; border: 0; padding: 0; border-radius: 50%; background: #b8b8b8; }
  html body.page-sales-prep .sales-mobile-dots button[aria-pressed=true] { background: var(--responsive-color-ff1725); }
  html body.page-sales-prep .sales-mobile-section { padding: 20px 16px; border-top: 10px solid #e9ecf1; }
  html body.page-sales-prep .sales-mobile-section h2 { font-size: 20px; line-height: 28px; margin: 0 0 20px; }
  html body.page-sales-prep .sales-mobile-shortcuts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; text-align: center; }
  html body.page-sales-prep .sales-mobile-shortcuts img { display: block; width: 45px; height: 45px; object-fit: contain; margin: 0 auto 5px; }
  html body.page-sales-prep .sales-mobile-shortcuts span { font-size: 14px; font-weight: 500; white-space: nowrap; }
  html body.page-sales-prep .sales-mobile-timeline { list-style: none; margin: 0; padding: 12px 14px; border: 1px solid #333; border-radius: 16px; }
  html body.page-sales-prep .sales-mobile-timeline li { position: relative; display: grid; grid-template-columns: 16px minmax(0,1fr) auto 60px; gap: 8px; align-items: center; min-height: 48px; font-size: 14px; }
  html body.page-sales-prep .sales-mobile-timeline li:not(:last-child):before { content: ''; position: absolute; left: 7px; top: 32px; bottom: -16px; width: 1px; background: #e2e2e2; }
  html body.page-sales-prep .sales-timeline-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; background: #fff; line-height: 14px; font-size: 12px; }
  html body.page-sales-prep .is-complete .sales-timeline-mark { background: var(--responsive-color-191e28); color: #fff; border-color: var(--responsive-color-191e28); }
  html body.page-sales-prep .sales-mobile-timeline strong { font-size: 14px; line-height: 20px; }
  html body.page-sales-prep .sales-mobile-timeline time { font-size: 14px; font-weight: 500; }
  html body.page-sales-prep .sales-timeline-status { border-radius: 20px; background: #e9ecf1; color: #777; text-align: center; padding: 3px; font-size: 12px; font-weight: 700; }
  html body.page-sales-prep .is-current { color: var(--responsive-color-ff1725); }
  html body.page-sales-prep .is-current .sales-timeline-status { color: var(--responsive-color-ff1725); border: 1px solid var(--responsive-color-ff1725); background: #fff0f1; }
  html body.page-sales-prep .is-upcoming { color: #999; }
  html body.page-sales-prep .sales-mobile-banner { display: block; border-block: 0; }
  html body.page-sales-prep .sales-mobile-banner img { display: block; width: 100%; height: auto; }
  html body.page-sales-prep .sales-mobile-latest { border-top: 0; padding-bottom: 32px; }
  html body.page-sales-prep .sales-mobile-latest .sales-mobile-row strong { font-weight: 500; }
  html body.page-sales-prep .sales-mobile-latest .sales-mobile-row img,html body.page-sales-prep .sales-image-pending { border-radius: 8px; }
  html body.page-sales-prep .sales-image-pending { display: grid; place-items: center; background: #f1f2f4; color: #92969c; font-size: 12px; }
  html body.page-sales-prep .sales-mobile-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 168px; height: 36px; margin: 20px auto 0; background: white; border: 1px solid #d4d4d4; border-radius: 24px; font-size: 14px; color: var(--responsive-color-191e28); }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-guide { background: var(--responsive-color-1e1e1f); color: #fff; padding: 0 0 28px; border-top: 10px solid #e9ecf1; overflow: hidden; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-cover { position: relative; display: block; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-cover > img { display: block; width: 100%; aspect-ratio: 2.1; object-fit: cover; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-cover > span { position: absolute; inset: auto 0 0; padding: 42px 16px 22px; background: linear-gradient(transparent,var(--responsive-color-1e1e1f)); font-size: 14px; color: #ddd; font-weight: 600; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-cover strong { display: block; font-size: 20px; line-height: 28px; color: white; margin-top: 4px; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-guide-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 0 16px 22px; box-sizing: border-box; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-guide-cards img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid #777; border-radius: 8px; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-guide-cards small { display: block; font-size: 14px; color: #888; margin: 10px 0 4px; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-guide-cards strong { display: block; font-size: 16px; line-height: 23px; font-weight: 500; color: #fff; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-controls { display: flex; justify-content: center; align-items: center; gap: 24px; color: #aaa; font-size: 14px; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-controls button { width: 90px; height: 40px; border: 1px solid #555; border-radius: 8px; color: #aaa; background: none; font-size: 26px; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-controls button:disabled { opacity: .5; }
  html body.mobile-article-design.page-sales-post .article-copy { font-size: 16px; line-height: 1.7; }
  html body.mobile-article-design.page-sales-post .article-copy-heading { font-size: 20px; line-height: 1.45; margin: 28px 0 16px; }
  html body.mobile-article-design.page-sales-post .article-copy-heading:before { content: ''; display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--responsive-color-191e28); margin-right: 5px; }
  html body.mobile-article-design.page-sales-post .sales-card-stage.is-cover { display: flex; flex-direction: column; justify-content: flex-end; }
  html body.mobile-article-design.page-sales-post .sales-card-stage.is-cover h2 { font-size: 32px; font-weight: 700; line-height: 1.35; }
  html body.mobile-article-design.page-sales-post .sales-card-controls button { background: none; color: #aaa; }
  html body.mobile-article-design.page-sales-post .sales-final-links { padding: 24px 16px; border-top: 10px solid #e9ecf1; }
  html body.mobile-article-design.page-sales-post .sales-final-links h2 { font-size: 20px; margin: 0 0 12px; }
  html body.mobile-article-design.page-sales-post .sales-final-links a { font-size: 16px; font-weight: 500; line-height: 24px; padding: 8px 0; }
  html body :is(.sales-mobile,.sales-final-recommendations) .sales-final-controls button, html body.mobile-article-design.page-sales-post .sales-card-controls button { display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; }
  html body.mobile-article-design.page-sales-post .article-deck { color: #777; font-weight: 400; }
  html body.page-sales-prep .sales-mobile-timeline { padding: 8px 16px; }
  html body.page-sales-prep .sales-mobile-timeline li { min-height: 46px; grid-template-columns: 16px minmax(0, 1fr) auto 64px; gap: 8px; }
  html body.page-sales-prep .sales-mobile-timeline strong { font-size: calc(16px - var(--font-size-step, 0px)); line-height: 22px; font-weight: 700; }
  html body.page-sales-prep .sales-mobile-timeline time { font-size: 14px; font-weight: 400; }
  html body.page-sales-prep .sales-timeline-status { padding: 3px 6px; line-height: 16px; }
  html body.page-sales-prep .sales-mobile-timeline .is-current .sales-timeline-mark { color: #fff; background: var(--responsive-color-ff1725); border-color: var(--responsive-color-ff1725); }
  html body.page-sales-prep .sales-mobile-timeline .is-upcoming { color: #888; }
  html body.page-sales-prep .sales-mobile-timeline .is-upcoming .sales-timeline-mark { width: 8px; height: 8px; justify-self: center; border: 1.5px solid #888; }
  html body.page-sales-prep .sales-mobile-timeline .is-upcoming .sales-timeline-status { border: 1px solid #555; color: #444; }
}
html body.page-sales-prep .sales-mobile-more::after { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
/* 청약 기사 간격·카드뉴스 글자 규격 */
@media (max-width: 1024px) {
  html body.mobile-article-design.page-sales-post .article-main { padding-top: 0; }
  html body.mobile-article-design.page-sales-post .article-heading { padding-top: 24px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-stage, html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-stage.is-cover { padding: 24px 16px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-stage h2, html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-stage.is-cover h2 { font-size: calc(20px - var(--font-size-step, 0px)); line-height: 28px; font-weight: 700; margin: 0 0 12px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-stage.is-cover h2 { margin-bottom: 0; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-stage p { font-size: calc(16px - var(--font-size-step, 0px)); line-height: 24px; font-weight: 400; margin: 0; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-logo { top: 24px; left: 16px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-controls { padding: 12px 16px; gap: 20px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-count { padding: 0; font-size: 14px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .article-copy { font-size: calc(16px - var(--font-size-step, 0px)); line-height: 24px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .article-copy-heading { font-size: calc(20px - var(--font-size-step, 0px)); line-height: 28px; margin: 24px 0 12px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-final-links h2 { font-size: calc(20px - var(--font-size-step, 0px)); line-height: 28px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-final-links a { font-size: calc(16px - var(--font-size-step, 0px)); font-weight: 500; padding: 8px 0; }
}
/* 카드뉴스 표지 글자 크기 */
@media (max-width: 1024px) {
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-stage.is-cover { padding: 24px 24px 40px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-stage.is-cover h2 { font-size: calc(40px - var(--font-size-step, 0px)); line-height: 1.35; font-weight: 700; margin: 0; color: #fff; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-logo { left: 24px; top: 24px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-controls { padding: 24px 16px; gap: 24px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .sales-card-carousel + .article-copy { padding-top: 32px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .article-copy > .article-copy-heading:first-child { margin-top: 0; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .article-copy { line-height: 29px; }
  html body.mobile-article-design.page-sales-post.sales-card-detail.reference-mobile .article-copy p { margin: 0 0 20px; line-height: 29px; }
}
@media (max-width: 1024px) {
  html body.page-sales-prep .sales-loan-banner { border: 0; margin: 0; padding: 0; }
  html body.page-sales-prep .sales-loan-banner>a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 20px; background: #eef5ff; color: #181c25; border: 0; }
  html body.page-sales-prep .sales-loan-banner small { display: block; font-size: 12px; line-height: 18px; color: #526c94; margin-bottom: 5px; }
  html body.page-sales-prep .sales-loan-banner strong { display: block; font-size: 18px; line-height: 26px; word-break: keep-all; }
  html body.page-sales-prep .sales-loan-banner img { flex: 0 0 68px; width: 68px; height: 68px; object-fit: contain; }
  html body.page-sales-prep .sales-loan-cta { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 20px; background: #fff; font-size: 12px; font-weight: 700; }
  html body.page-sales-prep .sales-loan-banner+.sales-mobile-section { border-top: 0; }
}
.sales-stage-toggle { display: none; }
@media (max-width: 1024px) {
  html body.page-sales-prep .sales-stage-toggle { position: fixed; right: max(12px,env(safe-area-inset-right)); bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 41; display: block; min-height: 44px; padding: 8px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: #202020; box-shadow: 0 4px 20px #0002; font-size: 14px; cursor: pointer; }
  html body.page-sales-prep .sales-loan-banner>a { display: block; padding: 0; border: 0; background: none; }
  html body.page-sales-prep .sales-loan-banner img { display: block; width: 100%; height: auto; max-width: none; border: 0; }
}
