:root {
  --content-width: 1336px;
  --gap: 20px 20px;
  --color-default: #200E4E;
  --color-default-hover: #F55744;
}


body{
  margin: 0;
  font-family: 'PingFang SC', '思源黑体', 'Source Han Sans SC', 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  box-shadow: none;
  text-decoration: none;
}
a:hover {
  color: var(--color-default-hover);
}

img {
  vertical-align: top;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}
div {
  box-sizing: border-box;
}

.container-custom{
  gap: var(--gap);
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding-inline-start: 0;
  padding-inline-end: 0;
  height: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.btn {
  display: inline-block;
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
  fill: #200E4E;
  color: #200E4E;
  background-color: #61CE7000;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-radius: 33px 33px 33px 33px;
  padding: 3px 20px 3px 20px;
  width: fit-content;
}

.btn-danger {
  fill: #FFFFFF;
  color: #FFFFFF;
  background-color: #F55744;
  border-color: #F55744;
}
.btn-danger:hover {
  color: #FFFFFF;
  background-color: #f77365;
  border-color: #f77365;
}
.btn-large {
  font-size: 18px;
  padding: 8px 40px 8px 40px;
}
.btn-link {
  color: #F55744;
  text-decoration: underline;
}
.btn-link:hover {
  color: #f77365;
  text-decoration: underline;
}

.custom-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.custom-drawer-mask {
  position: absolute;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}
.custom-drawer-wrapper {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: white;
  box-shadow: -6px 0 16px 0 rgba(0, 0, 0, 0.08), -3px 0 6px -4px rgba(0, 0, 0, 0.12), -9px 0 28px 8px rgba(0, 0, 0, 0.05);

  /* 偏移值 */
  transform: translateX(-350px);
  transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
}
.custom-drawer-content {
  width: 100%;
    height: 100%;
    overflow: auto;
    background: #ffffff;
    pointer-events: auto;
}
.custom-drawer-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.custom-drawer-body-header {
  display: flex;
  justify-content: space-between;
  flex: 0;
  align-items: center;
  padding: 16px 24px;
  font-size: 16px;
  line-height: 1.5;
}
.custom-drawer-body-body {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.banner {
  background-image: url('/static/images/bg-banner.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-ads1 {
  background-image: url('/static/images/bg-ads1.svg');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 41% auto;
}

.home-ads2 {
  background-image: url('/static/images/bg-ads2.svg');
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 43% auto;
}

.our-impact {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-default);
  font-size: 2.5rem;
}
.our-impact::before {
  content: '';
  display: inline-block;
  width: 4rem;
  height: 0.3rem;
  background: #1be0d9;
}

footer .tag {
  background: #535659;
  padding: 2px 8px;
  font-size: .9em;
  opacity: .6;
  margin-bottom: 6px;
  margin-right: 2px;
  color: rgba(255,255,255,.9);
  transition: all .3s ease;
}


@media screen and (max-width: 768px) {
  .home-ads1 {
    background-position: bottom right;
    background-size: 64% auto;
  }
  .home-ads2 {
    background-position: top left;
    background-size: 64% auto;
  }
}

.layui-input {
  width: 8rem !important;
  height: 2rem !important;
  background: #ffffff !important;
  border-radius: 0.3rem !important;
}

.nog-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.nog-list > .logo {
  width: 5rem;
  height: 5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.nog-list > .logo img {
  max-width: 100%;
  max-height: 100%;
}
.nog-list > .span-line {
  width: 1px;
  height: 4.5rem;
  background: #F5F4F4;
}
.nog-list > .info {
  width: 25rem;
}
.nog-list > .info h3{
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-default);
  font-size: 1rem;
}
.nog-list > .info p{
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.nog-list > .info p span{
  padding: 0.25rem 0.5rem;
  background: #F3F3F3;
  color: rgba(51, 51, 51, 0.8);
  border-radius: 0.2rem;
}
.nog-list > .count{
  flex: 1;
  text-align: center;
}
.nog-list > .count p{
  margin: 0;
  color: var(--color-default);
  font-size: 1rem;
}
.nog-list:hover {
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.12);
  /*transform: scale(1.02);*/
  transition: all 0.3s ease;
  cursor: pointer;
  background: #F55744;
}
.nog-list:hover > .info h3 {
  color: #ffffff;
}
.nog-list:hover > .info p span{
  color: var(--color-default);
  background: #ffffff;
}
.nog-list:hover > .count p{
  color: #ffffff;
}
.nog-list:hover .btn-danger{
  color: var(--color-default);
  background: #ffffff;
}

.custom-tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  box-sizing: border-box;
  border-top: 0.01rem solid #E9E9E9;
  border-bottom: 0.01rem solid #E9E9E9;
}
.custom-tabs > .tab-item {
  flex: 1;
  padding: 0.5rem 1rem;
  color: var(--color-default);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.custom-tabs > .tab-item:first-child {
  border-right: 0.01rem solid #E9E9E9;
}
.custom-tabs > .tab-item.active {
  color: #F55744;
}

.tab-content {
  padding: 1rem;
  box-sizing: border-box;
}
.tab-content > .tab-pane {
  display: none;
}
.tab-content > .tab-pane.active {
  display: block;
}
.custom-form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.custom-form-item {
}
.custom-form-item-input {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #FFFFFF;
  border: 0.01rem solid #E9E9E9;
  border-radius: 0.2rem;
  margin-bottom: 0.15rem;
  padding: 0.2rem;
}
.custom-form-item-input > span {
  width: 2rem;
  font-size: 1.2rem;
  color: #666666;
}
.custom-form-item-input > span.sendCode {
  width: 6rem;
  padding: 0;
  font-size: 0.8rem;
  color: #F55744;
  cursor: pointer;
  text-align: center;
}
.custom-form-item-input > input {
  flex: 1;
  min-width: 5rem;
  padding: 0.5rem;
  box-sizing: border-box;
  border: none;
  outline: none;
}

.pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem
}
.pagination > li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.2rem;
  background: #ffffff;
  color: var(--color-default);
  font-size: 0.9rem;
  cursor: not-allowed;
}
.pagination > li.disabled {
  color: var(--color-default) !important;
  background: #ffffff !important;
  cursor: not-allowed;
}
.pagination > li.active {
  color: #ffffff;
  background: #F55744;
}
.pagination > li:hover {
  color: #ffffff;
  background: #F55744;
}
.pagination > li:hover a {
  color: #ffffff;
}
.pagination > li a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 1.6rem;
  cursor: pointer;
  color: var(--color-default);
}

.tabs-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.01rem solid #E9E9E9;
}
.tabs-info-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.tabs-info-list-item {
  background: #F3F3F3;
  border-radius: 0.5rem 0.5rem 0 0;
  font-size: 1rem;
  font-weight: bold;
  color: #666666;
  padding: 0.5rem 1rem;
  margin-right: 0.1rem;
  cursor: pointer;
}
.tabs-info-list-item.active  {
  background: #2A93C9;
  color: #ffffff;
}
.tabs-content {}
.tabs-content-item {
  display: none;
  padding: 1rem;
}
.tabs-content-item.active {
  display: block;
}

.multi-line-ellipsis {
  /* 设置容器的最大高度，并限制其高度 */
  max-height: 48px; /* 每行高度大约16px，此处设为3行的高度 */
  /* 使用Webkit的box布局模型 */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  /* 隐藏超出的内容 */
  overflow: hidden;
  /* 文本不可换行 */
  white-space: pre-wrap;
  /* 文本溢出时显示省略号 */
  text-overflow: ellipsis;
  /* 可以设置一个宽度，确保文本在指定宽度内显示 */
  width: 100%; /* 或者指定一个具体的宽度值 */
}
.banner-custom {
  background-color: #E4E4E4;
  background-size: cover;
  min-height: 100%;
  min-width: 100%;
  transform: scale(1);
  transition-duration: 20s;
  background-position: 50%;
  background-repeat: no-repeat;
  transition-property: transform;
  transition-timing-function: linear;
}
.banner-partner {
  background-image: url('/static/images/banner-partner.png');
}

.banner-donate {
  background-image: url('/static/images/banner-donate.png');
}
.banner-aboutus {
  background-image: url('/static/images/banner-about.webp');
}
.banner-mask {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background: rgba(0,0,0,0.1);
}
.banner-p {
  margin: 0;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.3);
}
.banner-h1 {
  margin: 0;
  text-align: center;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.3);
}


.custom-collapse {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.custom-collapse-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.custom-collapse-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  margin: 0;
}
.custom-collapse--title > span {
  font-size: 1.2rem;
  color: #666666;
}
.custom-collapse-title.active {
  color: #08A1A2;
}
.custom-collapse-title.active > span {
  color: #08A1A2;
  transform: rotate(90deg);
  transition: transform 0.5s ease-out;
}
.custom-collapse-content {
  display: none;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0.5rem 1rem;
}
.custom-collapse-content p {
  margin: 0;
}

.header-ads {
  background-image: linear-gradient(90deg, #fce0df, #f8f0bf);
}