@media (max-width: 1199px) {
  .front-topbar,
  .section-shell,
  .post-shell,
  .category-shell,
  .template-detail .detail-shell {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .front-footer-grid,
  .front-footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .front-other-business .marketing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .front-topbar {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .front-brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .front-brand img {
    height: 32px;
  }

  .front-actions {
    margin-left: auto;
    gap: 8px;
  }

  .front-actions .front-link,
  .front-actions .front-btn,
  .front-actions .front-nav-toggle {
    min-height: 40px;
  }

  .front-actions .front-btn {
    padding: 9px 14px;
  }

  .front-body.front-nav-open {
    overflow: hidden;
  }

  .front-nav-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .front-nav {
    position: fixed;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.38);
    transition: opacity 0.2s ease;
    z-index: 180;
  }

  .front-nav > .front-nav-list {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    padding: 88px 18px 24px;
    margin: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.16);
  }

  .front-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .front-nav.is-open > .front-nav-list {
    transform: translateX(0);
  }

  .front-nav-item,
  .front-nav-link {
    width: 100%;
  }

  .front-nav-link {
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 12px;
    justify-content: space-between;
    background: #f8fafc;
  }

  .front-nav-link.is-active,
  .front-nav-link:hover {
    background: #edf2ff;
  }

  .front-nav-dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    padding: 6px 0 0 12px;
    background: transparent;
  }

  .front-nav-dropdown .front-nav-list {
    gap: 6px;
  }

  .front-nav-dropdown .front-nav-link {
    background: transparent;
    padding: 10px 12px;
  }

  .hero-layout,
  .capability-layout,
  .template-detail .detail-layout,
  .post-layout,
  .category-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .post-side,
  .category-side,
  .template-detail .detail-sidebar {
    width: 100%;
    position: static;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .module-grid,
  .academy-grid,
  .capability-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .front-other-business .marketing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .template-grid,
  .front-product-grid .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academy-tab-list,
  .platform-tab-list,
  .flow-tab-list,
  .media-table-tabs .mp-tabs,
  .front-media-channel #frontMediaTabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .academy-tab-list::-webkit-scrollbar,
  .platform-tab-list::-webkit-scrollbar,
  .flow-tab-list::-webkit-scrollbar,
  .media-table-tabs .mp-tabs::-webkit-scrollbar,
  .front-media-channel #frontMediaTabs::-webkit-scrollbar {
    display: none;
  }

  .academy-tab,
  .platform-tab,
  .flow-tab,
  .media-table-tabs .mp-tab,
  .front-media-channel #frontMediaTabs .mp-tab {
    flex: 0 0 auto;
    min-height: 42px;
    white-space: nowrap;
  }

  .template-detail .detail-cover {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .template-detail .detail-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .front-footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .front-footer-bottom {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}

@media (max-width: 767px) {
  .front-topbar,
  .section-shell,
  .post-shell,
  .category-shell,
  .template-detail .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .front-footer-grid,
  .front-footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-layout {
    gap: 20px;
  }

  .hero-slide {
    padding: 22px 0 0;
  }

  .hero-title {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .front-btn,
  .hero-actions .front-btn-ghost {
    width: 100%;
    min-height: 44px;
  }

  .hero-highlights {
    gap: 10px;
  }

  .hero-pill {
    min-height: 36px;
    justify-content: center;
  }

  .hero-right {
    width: 100%;
  }

  .hero-panel {
    width: 100%;
    padding: 18px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .section-head h1,
  .section-head h2 {
    line-height: 1.2;
  }

  .value-grid,
  .card-grid,
  .module-grid,
  .academy-grid,
  .capability-cards,
  .front-other-business .marketing-grid,
  .template-grid,
  .front-product-grid .template-grid {
    grid-template-columns: 1fr;
  }

  .value-item,
  .card,
  .module-card,
  .academy-card,
  .template-card,
  .front-other-business .marketing-card,
  .capability-card {
    min-height: 0;
  }

  .capability-main,
  .capability-card,
  .module-card,
  .card {
    padding: 18px;
  }

  .capability-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .capability-actions .front-btn {
    width: 100%;
    min-height: 44px;
  }

  .capability-meta {
    grid-template-columns: 1fr;
  }

  .template-card {
    min-height: 0;
  }

  .template-cover,
  .front-product-grid .template-cover {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .template-body,
  .front-product-grid .template-body {
    gap: 12px;
  }

  .template-title,
  .front-product-grid .template-title,
  .recommend-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .template-actions,
  .sidebar-actions,
  .secondary-actions {
    gap: 10px;
  }

  .front-btn,
  .pager-btn,
  .front-product-grid .template-buy,
  .template-detail .side-btn,
  .front-media-channel .mp-btn {
    min-height: 42px;
  }

  .flow-panels {
    margin-top: 14px;
  }

  .flow-panel {
    padding: 18px;
  }

  .flow-timeline-horizontal {
    display: grid;
    gap: 14px;
  }

  .flow-timeline-horizontal .flow-timeline-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    position: relative;
  }

  .flow-timeline-horizontal .flow-dot {
    width: 36px;
    height: 36px;
    grid-row: 1 / span 2;
  }

  .flow-timeline-horizontal .flow-line {
    position: absolute;
    top: 36px;
    left: 17px;
    bottom: -14px;
    width: 2px;
    height: auto;
  }

  .flow-timeline-horizontal .flow-content {
    min-width: 0;
  }

  .flow-timeline-horizontal .flow-timeline-item:last-child .flow-line {
    display: none;
  }

  .partner-card {
    min-width: 180px;
  }

  .front-footer {
    padding-top: 42px;
  }

  .front-footer-links {
    gap: 10px;
  }

  .front-footer-qr img {
    width: 112px;
    height: 112px;
  }

  .front-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .post-hero,
  .category-hero,
  .template-detail .detail-hero,
  .front-product-grid .product-hero,
  .front-media-channel .media-channel-hero {
    padding-top: 72px;
    padding-bottom: 24px;
  }

  .post-title,
  .template-detail .detail-title {
    font-size: clamp(24px, 7vw, 32px);
    text-align: left;
  }

  .post-meta {
    display: grid;
    gap: 6px;
    text-align: left;
  }

  .post-breadcrumb,
  .category-breadcrumb,
  .template-detail .breadcrumb {
    font-size: 11px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .post-content-card,
  .category-panel,
  .template-detail .detail-card {
    padding: 18px;
  }

  .post-nav {
    display: grid;
    gap: 10px;
  }

  .article-card {
    padding: 14px;
  }

  .article-card.has-cover {
    grid-template-columns: 1fr;
  }

  .article-cover {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .front-pager {
    gap: 8px;
    flex-wrap: wrap;
  }

  .pager-btn {
    padding: 10px 14px;
  }

  .template-detail .detail-layout {
    gap: 16px;
  }

  .template-detail .detail-card + .detail-card {
    margin-top: 0;
  }

  .template-detail .detail-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .template-detail .detail-thumb {
    height: 74px;
  }

  .template-detail .spec-list {
    grid-template-columns: 1fr;
  }

  .template-detail .detail-summary {
    gap: 12px;
  }

  .template-detail .recommend-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .post-content,
  .product-body {
    font-size: 15px;
  }

  .post-content img,
  .post-content video,
  .product-body img,
  .product-body video {
    max-width: 100%;
    height: auto;
  }

  .post-content table,
  .product-body table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
  }

  .post-content pre,
  .product-body pre {
    overflow-x: auto;
    padding: 12px;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
  }

  .post-content blockquote,
  .product-body blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 12px 14px;
  }

  .section-platform-tables .media-table-head,
  .front-media-channel .mp-table-toolbar,
  .front-media-channel .mp-summary {
    gap: 12px;
  }

  .section-platform-tables .media-table-head,
  .front-media-channel .mp-table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .section-platform-tables .media-table-head .front-btn,
  .front-media-channel .mp-toolbar-right .mp-btn {
    width: 100%;
  }

  .section-platform-tables .mp-tabs,
  .front-media-channel #frontMediaTabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .section-platform-tables .mp-tabs .mp-tab,
  .front-media-channel #frontMediaTabs .mp-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .section-platform-tables .mp-table,
  .section-platform-tables .mp-table thead,
  .section-platform-tables .mp-table tbody,
  .section-platform-tables .mp-table tr,
  .section-platform-tables .mp-table th,
  .section-platform-tables .mp-table td,
  .front-media-channel .mp-table,
  .front-media-channel .mp-table thead,
  .front-media-channel .mp-table tbody,
  .front-media-channel .mp-table tr,
  .front-media-channel .mp-table th,
  .front-media-channel .mp-table td {
    display: block;
  }

  .section-platform-tables .mp-table,
  .front-media-channel .mp-table {
    min-width: 0;
    background: transparent;
  }

  .section-platform-tables .mp-table thead,
  .front-media-channel .mp-table thead {
    display: none;
  }

  .section-platform-tables .mp-table tbody,
  .front-media-channel .mp-table tbody {
    display: grid;
    gap: 12px;
  }

  .section-platform-tables .mp-table tr,
  .front-media-channel .mp-table tr {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .section-platform-tables .mp-table td,
  .front-media-channel .mp-table td {
    padding: 0;
    border: none;
    text-align: left !important;
  }

  .section-platform-tables .mp-table td + td,
  .front-media-channel .mp-table td + td {
    margin-top: 10px;
  }

  .section-platform-tables .mp-table td::before,
  .front-media-channel .mp-table td::before {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
  }

  .section-platform-tables .mp-table td:nth-child(1)::before { content: '媒体名称'; }
  .section-platform-tables .mp-table td:nth-child(2)::before { content: '参考价'; }
  .section-platform-tables .mp-table td:nth-child(3)::before { content: '案例'; }
  .section-platform-tables .mp-table td:nth-child(4)::before { content: '操作'; }

  .front-media-channel .mp-table td:nth-child(1)::before { content: '选择'; }
  .front-media-channel .mp-table td:nth-child(2)::before { content: '收藏'; }
  .front-media-channel .mp-table td:nth-child(3)::before { content: '媒体名称'; }
  .front-media-channel .mp-table td:nth-child(4)::before { content: '参考价'; }
  .front-media-channel .mp-table td:nth-child(5)::before { content: '案例'; }
  .front-media-channel .mp-table td:nth-child(6)::before { content: '操作'; }

  .front-media-channel .mp-action-group,
  .front-media-channel .mp-summary-right,
  .front-media-channel .mp-toolbar-right {
    width: 100%;
    justify-content: stretch;
  }

  .front-media-channel .mp-action-group .mp-btn,
  .front-media-channel .mp-summary-right .mp-btn,
  .front-media-channel .mp-toolbar-right .mp-btn {
    flex: 1 1 100%;
  }

  .front-media-channel .mp-summary {
    padding: 14px;
    display: grid;
  }

  .front-media-channel .mp-summary-left,
  .front-media-channel .mp-page-info {
    font-size: 13px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .front-topbar,
  .section-shell,
  .post-shell,
  .category-shell,
  .template-detail .detail-shell,
  .front-footer-grid,
  .front-footer-bottom {
    padding-left: 12px;
    padding-right: 12px;
  }

  .front-actions .front-link {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-metrics,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .template-detail .detail-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-platform-tables .mp-table tr,
  .front-media-channel .mp-table tr {
    padding: 14px;
  }

  .partner-card {
    min-width: 150px;
  }
}
