/* 移动端学习页面样式 */
@media screen and (max-width: 768px) {
  /* Banner区域 */
  .banner {
    height: auto;
    min-height: 300rem;
    padding: 40rem 16rem;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .banner-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .breadcrumb {
    margin-bottom: 20rem;
    margin-top: 0;
    font-size: 12rem;
    gap: 6rem;
  }

  .breadcrumb-home {
    font-size: 12rem;
  }

  .breadcrumb-separator {
    font-size: 12rem;
  }

  .breadcrumb-current {
    font-size: 12rem;
  }

  .learn-hero {
    text-align: center;
    margin-top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .learn-title {
    font-size: 32rem;
    margin-bottom: 24rem;
  }

  .learn-search-bar {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 8rem;
    padding: 0;
    height: auto;
    box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.1);
  }

  .learn-search-filter {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 14rem 16rem;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14rem;
    color: #333333;
    gap: 8rem;
    height: auto;
    min-height: 48rem;
  }

  .learn-search-filter-icon {
    width: 0;
    height: 0;
    border-left: 4rem solid transparent;
    border-right: 4rem solid transparent;
    border-top: 5rem solid #999999;
  }

  .learn-search-input {
    width: 100%;
    padding: 14rem 16rem;
    font-size: 14rem;
    height: auto;
    min-height: 48rem;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
  }

  .learn-search-input:last-of-type {
    border-bottom: none;
  }

  .learn-search-button {
    width: 100%;
    padding: 14rem 0;
    height: 48rem;
    min-height: 48rem;
    border-radius: 0 0 8rem 8rem;
    margin: 0;
  }

  /* Ecademy区域 */
  .ecademy-section {
    padding: 0;
    background-color: #ffffff;
  }

  .ecademy-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    padding: 0;
  }

  .ecademy-nav-inner {
    display: flex;
    gap: 0;
    padding: 0 16rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: max-content;
  }

  .ecademy-nav-link {
    white-space: nowrap;
    font-size: 14rem;
    padding: 14rem 12rem;
    color: #333;
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
    border-bottom: 3rem solid transparent;
    transition: all 0.3s ease;
  }

  .ecademy-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3rem;
    background-color: #c57a1a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .ecademy-nav-link.active {
    font-weight: 700;
  }

  .ecademy-nav-link.active::after {
    transform: scaleX(1);
  }

  .ecademy-login {
    padding: 30rem 16rem;
    margin-top: 0;
    box-sizing: border-box;
  }

  .ecademy-login-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .ecademy-login-title {
    font-size: 20rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 16rem;
    line-height: 1.4;
  }

  .ecademy-login-description {
    font-size: 14rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24rem;
    max-width: 100%;
  }

  .ecademy-login-buttons {
    flex-direction: column;
    gap: 12rem;
    display: flex;
    width: 100%;
  }

  .ecademy-btn-register,
  .ecademy-btn-login {
    width: 100%;
    padding: 14rem 0;
    box-sizing: border-box;
    font-size: 14rem;
    font-weight: 600;
    border-radius: 24rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .ecademy-btn-register {
    background-color: #c57a1a;
    color: #ffffff;
    border: none;
    min-width: auto;
  }

  .ecademy-btn-register:active {
    background-color: #B8B21A;
  }

  .ecademy-btn-login {
    background-color: #ffffff;
    color: #c57a1a;
    border: 1rem solid #c57a1a;
    min-width: auto;
  }

  .ecademy-btn-login:active {
    background-color: #B8B21A;
    color: #ffffff;
    border-color: #B8B21A;
  }

  /* Courses区域 */
  .courses-section {
    padding: 40rem 16rem;
    background-color: #ffffff;
    box-sizing: border-box;
  }

  .courses-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .courses-title {
    font-size: 24rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 12rem;
    line-height: 1.3;
  }

  .courses-subtitle {
    font-size: 14rem;
    color: #333;
    margin-bottom: 24rem;
    line-height: 1.6;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 24rem;
    margin-bottom: 30rem;
    display: grid;
  }

  .course-card {
    width: 100%;
    height: auto;
    min-height: auto;
    background-color: #ffffff;
    border: 1rem solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: none;
  }

  .course-card:active {
    transform: none;
    box-shadow: none;
  }

  .course-image {
    width: 100%;
    height: 200rem;
    overflow: hidden;
    margin-bottom: 0;
  }

  .course-image img,
  .course-image video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .course-image-blank {
    background-color: #f5f5f5;
  }

  .course-meta {
    display: flex;
    align-items: center;
    gap: 16rem;
    padding: 12rem 16rem;
    font-size: 12rem;
    color: #666666;
    margin-bottom: 0;
  }

  .course-modules,
  .course-duration {
    display: flex;
    align-items: center;
    gap: 6rem;
    font-size: 12rem;
  }

  .course-icon-play,
  .course-icon-clock {
    display: inline-block;
    width: 14rem;
    height: 14rem;
    position: relative;
  }

  .course-icon-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 0;
    height: 0;
    border-left: 5rem solid #666666;
    border-top: 3rem solid transparent;
    border-bottom: 3rem solid transparent;
  }

  .course-icon-clock::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10rem;
    height: 10rem;
    border: 2rem solid #666666;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .course-icon-clock::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 3rem;
    background-color: #666666;
    transform-origin: top center;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .course-name {
    font-size: 18rem;
    font-weight: 700;
    color: #144279;
    padding: 0 16rem;
    margin-bottom: 12rem;
    line-height: 1.4;
  }

  .course-description {
    font-size: 14rem;
    color: #666666;
    line-height: 1.6;
    padding: 0 16rem;
    margin-bottom: 20rem;
    flex: 1;
  }

  .course-start-btn {
    width: calc(100% - 32rem);
    margin: 0 16rem 16rem;
    padding: 12rem 0;
    border: 1rem solid #c57a1a;
    border-radius: 50rem;
    background-color: #ffffff;
    color: #c57a1a;
    font-size: 14rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    box-sizing: border-box;
  }

  .course-start-btn:active {
    background-color: #B8B21A;
    border-color: #B8B21A;
    color: #ffffff;
  }

  .courses-footer {
    margin-top: 30rem;
    text-align: center;
    padding: 0;
  }

  .courses-view-all {
    display: inline-block;
    color: #B8741A;
    font-size: 14rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .courses-view-all:active {
    color: #c57a1a;
  }

  /* MyECADEMY区域 */
  .myecademy-section {
    padding: 40rem 16rem;
    background-color: #ffffff;
    box-sizing: border-box;
  }

  .myecademy-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .myecademy-layout {
    flex-direction: column;
    gap: 30rem;
    display: flex;
    align-items: flex-start;
  }

  .myecademy-media {
    width: 100%;
    flex: none;
    order: 1;
  }

  .myecademy-media img {
    width: 100%;
    height: auto;
    display: block;
  }

  .myecademy-content {
    width: 100%;
    max-width: 100%;
    flex: none;
    order: 2;
  }

  .myecademy-title {
    font-size: 20rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 16rem;
    line-height: 1.4;
  }

  .myecademy-description {
    font-size: 14rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24rem;
  }

  .myecademy-btn {
    width: 100%;
    padding: 14rem 0;
    background-color: #c57a1a;
    color: #ffffff;
    border: none;
    border-radius: 50rem;
    font-size: 16rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  .myecademy-btn:active {
    background-color: #B8B21A;
  }

  /* Main bottom区域 */
  .main-bottom-section {
    padding: 40rem 16rem;
    background-color: #f4f5f7;
    box-sizing: border-box;
  }

  .main-bottom-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .main-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1rem solid #e0e0e0;
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
  }

  .main-bottom-card {
    padding: 30rem 20rem;
    border-right: none;
    border-bottom: 1rem solid #e0e0e0;
    text-align: center;
    box-sizing: border-box;
  }

  .main-bottom-card:last-child {
    border-bottom: none;
    border-right: none;
  }

  .main-bottom-icon {
    margin: 0 auto 20rem;
    width: auto;
    height: 48rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-bottom-icon img {
    height: 48rem;
    width: auto;
    max-width: 100%;
  }

  .main-bottom-title {
    font-size: 18rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 12rem;
    line-height: 1.3;
  }

  .main-bottom-text {
    font-size: 14rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24rem;
  }

  .main-bottom-btn {
    width: 100%;
    padding: 12rem 0;
    border-radius: 50rem;
    border: 1rem solid #c57a1a;
    background-color: #ffffff;
    color: #c57a1a;
    font-size: 14rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block;
  }

  .main-bottom-btn:active {
    background-color: #B8B21A;
    border-color: #B8B21A;
    color: #ffffff;
  }
}

