.oc-main-sam-chemical-structure-container {
  margin-top: var(--header-height);
  position: relative;
}

.oc-main-sam-chemical-structure-banner {
  width: 100%;
  height: 4.15rem;
}

.oc-main-sam-chemical-structure-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oc-main-sam-chemical-structure-container .oc-main-sam-chemical-structure-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -72%);
  color: #fff;
  text-align: center;
}

.oc-main-sam-chemical-structure-container .oc-main-sam-chemical-structure-content-title {
  margin-bottom: 0.44rem;
  font-weight: 800;
}

.oc-main-sam-chemical-structure-container .oc-main-sam-chemical-structure-content-desc {
  font-size: max(0.17em, 17px);
  line-height: 0.32rem;
}

/* 面包屑 */
.oc-main-sam-breadcrumb {
  padding: 0.2rem 2.15rem 0.3rem;
}

.oc-main-sam-breadcrumb .breadcrumb-item {
  font-size: 0.16rem;
  display: inline !important;
}

.oc-main-sam-breadcrumb .breadcrumb-item a {
  color: #8a8a8a;
  display: inline;
}

.oc-main-sam-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.05rem;
}

.oc-main-sam-breadcrumb .breadcrumb-link .breadcrumb-item:last-child a {
  color: var(--Color);
  pointer-events: none;
}

.oc-main-sam-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.05rem;
  color: #8a8a8a;
  content: '/';
}

/* 分子绘制图 */
.oc-main-sam-molecular-plotter {
  padding: 0rem 2.15rem 0.42rem;
  height: 6.35rem;
}

.css-dtbr18,
.css-td41hq {
  font-size: max(0.11em, 11px);
}

.css-4kq4al svg {
  width: 0.2rem;
}

/* 搜索组件 */
.oc-main-sam-chemical-structure-search {
  padding: 0rem 2.15rem 0.6rem;
  align-items: center;
  display: flex;
}

.oc-main-sam-chemical-structure-search-input {
  width: 6.26rem;
  height: 0.46rem;
  border: 0.01rem solid #b5b5b5;
  padding: 0.1rem 0.13rem;
}

.oc-main-sam-chemical-structure-search-input input {
  width: 100%;
  height: 100%;
  font-size: max(0.18em, 18px);
}

.oc-main-sam-chemical-structure-search-btn {
  background-color: var(--Color);
  padding: 0 0.23rem;
  font-size: max(0.18em, 18px);
  color: #fff;
  height: 0.46rem;
  display: flex;
  align-items: center;
  border-radius: 0 0.08rem 0.08rem 0;
  cursor: pointer;
  font-weight: 400;
}

/* 底部其他资源 */
.tools-others {
  padding: 0rem 2.15rem 0.8rem;
}

.tools-others .tool-footer-title {
  color: #333;
  font-family: NunitoSans;
  font-size: max(0.28rem, 12px);
  font-style: normal;
  font-weight: 800;
  line-height: 0.36rem;
  text-transform: capitalize;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(183, 183, 183, 0.3);
}

.tools-others .tool-footer-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.3rem;
  border-bottom: 1px solid rgba(183, 183, 183, 0.3);
}

.tools-others .tool-footer-item {
  display: flex;
  width: 2.63rem;
  flex-direction: column;
  align-items: center;
}

.tools-others .tool-footer-item-icon {
  width: 0.8rem;
  height: 0.8rem;
  flex-shrink: 0;
  background: #2f67b3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  margin-bottom: 30px;
}
.tools-others .tool-footer-item-title {
  margin-bottom: 0.15rem;
  color: #333;
  text-align: center;
  font-family: NunitoSans;
  font-size: max(0.22rem, 16px);
  font-style: normal;
  font-weight: 800;
  line-height: 1.3;
  transition: all 0.3s ease-in-out;
}

.tools-others .tool-footer-item-title:hover {
  text-decoration: underline;
  color: #2f67b3;
}

.tools-others .tool-footer-item-des {
  color: #666;
  text-align: center;
  font-family: NunitoSans;
  font-size: max(0.18rem, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  height: 0.72rem;
}
.tools-others .tool-footer-item-icon svg {
  width: min(40px, 0.4rem);
}

@media screen and (max-width: 1025px) {
  .oc-main-sam-chemical-structure-banner {
    height: 10rem;
  }

  .oc-main-sam-chemical-structure-container .oc-main-sam-chemical-structure-content {
    width: 6.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
  }

  .oc-main-sam-chemical-structure-container .oc-main-sam-chemical-structure-content-title {
    margin-bottom: 0.42rem;
  }

  .oc-main-sam-chemical-structure-container .oc-main-sam-chemical-structure-content-desc {
    font-size:0.28rem;
    line-height: 0.5rem;
    width: 6.46rem;
  }

  .oc-main-sam-breadcrumb {
    padding: 0.37rem 0.3rem;
  }

  .oc-main-sam-breadcrumb .breadcrumb-item {
    font-size: 0.24rem;
  }

  .oc-main-sam-molecular-plotter {
    padding: 0 0.3rem 0.42rem;
    height: 5.6rem;
  }

  .oc-main-sam-chemical-structure-search {
    padding: 0 0.3rem 0.6rem;
  }

  .oc-main-sam-chemical-structure-search-input {
    width: 4.5rem;
  }

  .oc-main-sam-chemical-structure-search-input input {
    font-size: 0.22rem;
  }

  .oc-main-sam-chemical-structure-search-btn {
    font-size: 0.22rem;
    /* 不换行 */
    white-space: nowrap;
  }

  .tools-others {
    padding: 0 0.3rem 0.46rem;
  }

  .tools-others .tool-footer-items {
    flex-wrap: wrap;
    justify-content: space-between;
    padding:  0.3rem 0;
            gap: 0.3rem 0;
  }

  .tools-others .tool-footer-item {
    width: 3.32rem;
  }

  .tools-others .tool-footer-item-des{
    font-size: 0.22rem;
    height: 0.64rem;
  }

  .tools-others .tool-footer-item-icon{
    margin-bottom: 0.3rem;
  }

  .tools-others .tool-footer-title{
    font-size: 0.32rem;
    padding-bottom: 0.42rem;
  }

  /* 化学元素编辑器 */
  .css-2yv69u{
    overflow: auto;
  }
}
