body {
  margin: 0;
  margin-bottom: 0;
  overflow-x: hidden; /* 防止水平滚动条出现 */
}
main.font-monospace {
  font-family: inherit !important; /* 恢复为默认或继承的字体 */
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}

.hero-text-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-media {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.section-background_empty {
  background-image: url("/images/main/placeholder-background.png"); /* 替换为你的背景图路径 */
  background-size: cover;
  background-position: center;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

@media (max-width: 1199px) {
  .hero-section {
    flex-direction: column;
  }

  .hero-text-wrapper {
    width: 100%;
  }

  .hero-text-wrapper .container {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1rem;
  }

  .hero-media {
    width: 100%;
    height: auto;
  }

  .hero-media img {
    content: url("/images/products/easyword_yibei/easyword_yibei-banner_ai.png");
  }
}

.icon-img {
  width: 40px;
  height: 40px;
  border: 1px solid #dfdfdf;
  border-radius: 8px;
}

#easyword_yibei .ea-banner {
  background-image: linear-gradient(
      to top,
      rgba(20, 60, 35, 1) 10%,
      rgba(20, 60, 35, 0) 20%
    ),
    url("/images/products/easyword_yibei/easyword_yibei-banner.jpg");
}
#easyword_yibei .banner-buttons a:hover {
  color: green;
}
#easyword_yibei .mockups-screen {
  background: linear-gradient(to bottom, #e6f0dc, #e6f0dc);
}
#easyword_yibei .custom-swiper-icon:hover {
  color: darkgreen; /* 悬停时颜色与 Swiper hover 状态匹配 */
}
#easyword_yibei .custom-swiper-icon.active {
  color: #0056b3; /* 激活状态颜色 */
}
#easyword_yibei .footer-buttons a {
  background-color: #f4f4f4;
}
#easyword_yibei .footer-buttons a:hover {
  color: white;
  background-color: #43885e;
}
#easyword_yibei .footer-buttons a:active {
  color: white;
  background-color: #43885e;
}

/* easydict_yibei */

#easydict_yibei .ea-banner {
  background-image: linear-gradient(
      to top,
      rgb(200, 80, 85) 10%,
      rgba(200, 80, 85, 0.5) 50%
    ),
    url("/images/products/easydict_yibei/easydict_yibei-banner.png");
}
#easydict_yibei .banner-buttons a:hover {
  color: rgb(200, 80, 85);
}
#easydict_yibei .mockups-screen {
  background: linear-gradient(to bottom, #f2f2f4, #f2f2f4);
}
#easydict_yibei .custom-swiper-icon:hover {
  color: darkred; /* 悬停时颜色与 Swiper hover 状态匹配 */
}
#easydict_yibei .custom-swiper-icon.active {
  color: darkred; /* 激活状态颜色 */
}
#easydict_yibei .footer-buttons a {
  background-color: #f4f4f4;
}
#easydict_yibei .footer-buttons a:hover {
  color: white;
  background-color: rgb(200, 80, 85);
}
#easydict_yibei .footer-buttons a:active {
  color: white;
  background-color: rgb(200, 80, 85);
}

/* easyrote_yibei */

#easyrote_yibei .ea-banner {
  background-image: linear-gradient(
      to top,
      rgba(40, 140, 220, 0.5) 10%,
      rgba(40, 140, 220, 0.3) 20%
    ),
    url("/images/products/easyrote_yibei/easyrote_yibei-banner.png");
}
#easyrote_yibei .banner-buttons a:hover {
  color: rgb(40, 140, 220);
}
#easyrote_yibei .mockups-screen {
  background: linear-gradient(to bottom, #f2f2f4, #f2f2f4);
}
#easyrote_yibei .custom-swiper-icon:hover {
  color: rgb(40, 140, 220); /* 悬停时颜色与 Swiper hover 状态匹配 */
}
#easyrote_yibei .custom-swiper-icon.active {
  color: rgb(40, 140, 220); /* 激活状态颜色 */
}
#easyrote_yibei .footer-buttons a {
  background-color: #f4f4f4;
}
#easyrote_yibei .footer-buttons a:hover {
  color: white;
  background-color: rgb(40, 140, 220);
}
#easyrote_yibei .footer-buttons a:active {
  color: white;
  background-color: rgb(40, 140, 220);
}

/* easyread_yibei */

#easyread_yibei .ea-banner {
  background-image: linear-gradient(
      to top,
      rgb(145, 105, 50) 10%,
      rgba(145, 105, 50, 0) 30%
    ),
    url("/images/products/easyread_yibei/easyread_yibei-banner.jpg");
}
#easyread_yibei .banner-buttons a:hover {
  color: rgb(169, 140, 110);
}
#easyread_yibei .mockups-screen {
  background: linear-gradient(to bottom, #f2f2f4, #f2f2f4);
}
#easyread_yibei .custom-swiper-icon:hover {
  color: rgb(169, 140, 110); /* 悬停时颜色与 Swiper hover 状态匹配 */
}
#easyread_yibei .custom-swiper-icon.active {
  color: hsl(35, 49%, 38%); /* 激活状态颜色 */
}
#easyread_yibei .footer-buttons a {
  background-color: #f4f4f4;
}
#easyread_yibei .footer-buttons a:hover {
  color: white;
  background-color: rgb(169, 140, 110);
}
#easyread_yibei .footer-buttons a:active {
  color: white;
  background-color: rgb(169, 140, 110);
}

/* Product index page */
.card.rounded-3 {
  border-radius: 5%;
}
.card img {
  border-radius: 50%;
  background-color: lightgray;
}
/* Product list page */
.product-in-promotion,
.product-in-list {
  height: 100%; /* 自动拉伸充满所在列的高度 */
}
.product-in-promotion img {
  border-radius: 50%;
  background-color: lightgray;
}
.easyword_yibei img {
  background-color: rgba(245, 250, 245, 1);
}
.easydict_yibei img {
  background-color: rgba(250, 245, 245, 1);
}
.easyread_yibei img {
  background-color: rgba(250, 245, 245, 1);
}
.easyrote_yibei img {
  background-color: rgba(245, 245, 250, 1);
}
.tomato_yibei img {
  background-color: rgba(250, 250, 250, 1);
}
.easypoem_yibei img {
  background-color: rgba(240, 240, 250, 1);
}
