/* banner 背景 */
  .banner-bg {
    background: url('/ver2/images/offer/offers-banne.webp') center center / cover no-repeat;
  }

/* 文章內文-區塊1 */
.offer-detail {
  background: url('/ver2/images/smooth-wall-background.png') repeat;
  padding: 30px 30px; 
}

.offer-detail-section {
  max-width: 960px;
  background:#fff;
  margin: 0px auto; 
  padding: 0 80px 30px;
}

.offer-header {
  background: #ea4972;
  color: #fff;
  padding: 20px 20px 16px;
  border-radius: 8px 8px 0 0;
  margin-left: -80px;
  margin-right: -80px;
}

.offer-title {
  font-size: 1.8rem;
  margin: 0;
  font-weight: bold;
}

.offer-meta {
  text-align: right;
  font-size: 0.9rem;
  margin-top: 10px;
}

.offer-image img {
  width: 100%;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
}

.offer-cta {
  text-align: center;
  padding: 20px;
  background: #ffeef1;
  border-radius: 0 0 16px 16px;
  margin-bottom: 30px;
}

.offer-button {
  display: inline-block;
  color: #ea4972;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid #ea4972;
  padding-bottom: 2px;
}

.offer-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
  padding: 20px;
}

.offer-content p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

/* 專利AI動態分析技術 */
.offer-ai-analysis {
  margin: 30px 0;
  text-align: center;
}

.analysis-divider {
  width: 100%;
  border-top: 1px solid #ccc;
  margin: 30px 0 30px;
}

.offer-ai-analysis h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.ai-analysis-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  font-size: 1rem;
  color: #333;
}

.ai-analysis-features li {
  margin-bottom: 10px;
  text-align: left;
}

.ai-analysis-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.ai-analysis-images img {
  max-width: 250px;
  height: auto;
  border-radius: 8px;
}

/* 自然開口説英文 */
.section-speaking {
  border-top: 1px solid #ccc;
  padding: 40px 0 20px;
  margin: 40px 0 20px;
}

.speaking-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.speaking-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-end;
}

.speaking-text {
  flex: 1;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.speaking-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}

.speaking-image {
  flex: 1;
}

.speaking-image img {
  max-width: 100%;
  display: block;

}

/* 快樂學習 */
.happy-section {
  padding: 20px 20 20px;
  text-align: center;
  margin: 20px 0 0px;
}

.happy-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.happy-text {
  margin: 0 auto 30px;
  text-align: justify;
}

.happy-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.happy-text p span{
    color: #eb801b;
}

.happy-divider {
  width: 100%;
  border-top: 1px solid #ccc;
  margin: 30px auto;
}

.happy-btn-wrap {
  text-align: center;
}

.happy-btn {
  display: inline-block;
  background: #ea4972;
  color: #fff;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.happy-btn:hover {
  background: #c7365d;
}

/* 回上頁 */
.back-link-wrap {
  text-align: center;
  padding: 40px 0;
  background: none;
}

.back-link {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  border: 1px solid #999;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #f5f5f5;
  border-color: #666;
}

/* 手機版 RWD */
@media screen and (max-width: 768px) {
  .offer-detail-section {
    padding: 0 20px;
  }

  .offer-header {
    margin-left: -20px;
    margin-right: -20px;
  }  
  .offer-title {
    font-size: 1.3rem;
  }

  .offer-meta {
    font-size: 0.8rem;
  }

  .offer-content h2 {
    font-size: 1.1rem;
  }

  .offer-content p {
    font-size: 0.95rem;
  }

  /* 專利AI動態分析技術 */
  .ai-analysis-images {
    flex-direction: column;
    align-items: center;
  }

  .ai-analysis-images img {
    max-width: 80%;
  }

  .ai-analysis-features li {
    text-align: center;
  } 
  
  /* 自然開口説英文 */
  .speaking-wrapper {
    flex-direction: column;
  }

  .speaking-image {
    text-align: center;
    margin-top: 20px;
  }

  .speaking-text p {
    text-align: justify;
  }

  .speaking-text {
    border-bottom: none;
    padding-bottom: 0;
  }

  .section-speaking {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
  }

  /* 快樂學習 */
  .happy-title {
    font-size: 1.2rem;
  }

  .happy-text {
    padding: 0 10px;
  }

  .happy-btn {
    width: 80%;
    font-size: 1rem;
  }
}