html,
body {
    height: 100%;
    margin: 0;
}

#section3 {
    background-color: #f1f5f6;
    box-sizing: border-box;
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content3 {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.625rem;
    padding: 0 0.5rem 0.5rem 0.5rem;
    margin-top: 0.25rem;
    box-sizing: border-box;
    width: 100%;
}

.module {
    background-color: #ffffff;
    border-radius: 0.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0.25rem;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

/* 鼠标悬停效果 */
.module:hover {
    background-color: #0199ff;
}

.module:hover .title-small,
.module:hover .description,
.module:hover .more-button {
    color: white !important;
}

/* 文本部分 */
.text-part {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 0.375rem;
    padding-left: 0.375rem;
}

.title-small {
    font-size: 0.3125rem;
    font-weight: bold;
    margin-bottom: 0.125rem;
    color: #333;
    transition: color 0.3s ease;
}

.description {
    font-size: 0.2rem;
    color: #666;
    margin-bottom: 0.25rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.more-button {
    margin-top: 0.25rem;
    display: inline-block;
    padding: 0.1rem 0.2rem;
    background-image: url('/images/图层 622@2x.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: 0.05rem;
    font-size: 0.175rem;
    text-decoration: none;
    width: fit-content;
    border: none;
    transition: color 0.3s ease;
}

  
  .more-button:hover {
    background: transparent;
    border: 0.0125rem solid white;
    opacity: 0.9;
  }
  
  /* 激活样式 */
  .more-button.active {
    background: transparent;
    border: 0.0125rem solid white;
    color: white;
  }
  
  

.image-part {
    width: 50%;
    height: 90%;
}

.image-part img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.1rem;
}
