/* 
 * Deployment & Integration Page - Mobile Optimization CSS
 * 针对 deployment.html 页面的专属移动端适配
 */

@media screen and (max-width: 767px) {

  /* ============================================
     Hero Section (Issue 1)
     ============================================ */
  .lrn-started-inner {
    height: auto !important;
    min-height: 500px !important;
    padding: 100px 0 60px 0 !important;
  }

  /* Hide Professional Implementation Tag */
  .lrn-started-inner div[style*="display: inline-flex"] {
    display: none !important;
  }

  .lrn-started-inner h1 {
    font-size: 36px !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
  }

  .lrn-started-inner p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    padding: 0 15px !important;
  }

  /* ============================================
     Three-Stage Deployment Process (Issue 2)
     ============================================ */
  
  .wrapper > section:nth-of-type(2) {
    padding: 30px 0 !important;
  }

  /* Force Row Layout - 3 Columns */
  .wrapper > section:nth-of-type(2) .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
    align-items: flex-start !important;
  }

  .wrapper > section:nth-of-type(2) .col-xs-12 {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
    max-width: 33.33% !important;
    padding: 0 5px !important;
    margin-bottom: 0 !important;
  }

  /* Container padding adjustment */
  .wrapper > section:nth-of-type(2) .element-anim-1 {
    padding: 0 !important;
    width: 100% !important;
    display: block !important;
  }

  /* Image Container */
  .wrapper > section:nth-of-type(2) .element-anim-1 > div:first-child {
    width: 100% !important;
    margin-bottom: 10px !important;
    display: block !important;
  }

  /* Hide Diamond Icon & Number */
  .wrapper > section:nth-of-type(2) div[style*="display: inline-block"] {
    display: none !important;
  }

  /* Image Adjustment - Smaller */
  .wrapper > section:nth-of-type(2) img {
    width: 100% !important;
    height: 80px !important; /* Reduced height */
    object-fit: cover !important;
    margin-bottom: 0 !important;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1) !important;
    border-radius: 10px !important;
    display: block !important;
  }
  
  /* Ensure image container has no extra margin */
  .wrapper > section:nth-of-type(2) div[style*="margin-bottom: 25px"] {
    margin-bottom: 10px !important;
  }

  /* Text Adjustment - Compact */
  .wrapper > section:nth-of-type(2) h4 {
    font-size: 12px !important;
    margin-bottom: 5px !important;
    text-align: center !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    height: 30px !important; /* Fixed height for alignment */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .wrapper > section:nth-of-type(2) p {
    font-size: 10px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important; /* Limit lines */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* ============================================
     Why Choose Our Deployment Services (Issue 3)
     ============================================ */
  
  .wrapper > section:nth-of-type(3) {
    padding: 50px 0 !important;
  }

  .wrapper > section:nth-of-type(3) .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
  }

  /* 2 Columns Layout */
  .wrapper > section:nth-of-type(3) .col-xs-12 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 10px !important;
    margin-bottom: 20px !important;
  }

  /* Card Styling Adjustment for smaller space */
  .wrapper > section:nth-of-type(3) div[style*="padding: 30px"] {
    padding: 20px 15px !important;
    height: 100% !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .wrapper > section:nth-of-type(3) i {
    font-size: 36px !important;
    margin-bottom: 10px !important;
  }

  .wrapper > section:nth-of-type(3) h5 {
    font-size: 15px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }

  .wrapper > section:nth-of-type(3) p {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

}
