
:root {
  --primary-color: #37e075;
  --secondary-color: #2C3E50;
  --accent-color: #3498DB;
}
body {
  font-family: 'Poppins', sans-serif;
  background: rgba(32, 71, 183, 1);
  color: #fff;
  font-family: Inter-Regular;
}
#app {
overflow-x: hidden;
}
.font-fnormal{
font-family: Inter-Regular;
}
.font-fmedium{
font-family: Inter-Medium;
}
.font-fsemibold{
font-family: Inter-SemiBold;
}
.font-fbold, strong {
font-family: Inter-Bold;
}
.hero img {
  width: 100%;
  max-width: 100%;
}
.schedule-card {
  border-left: 4px solid var(--primary-color);
  background: rgba(255,255,255,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 1.5rem;
}
.schedule-card:hover {
  transform: translateX(10px);
}
.time-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}
.bio-wrap {
  position: relative;
  width: 250px;
  height: 500px;
}
.bio-long-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  background: rgba(33,37,41, 0.8);
  height: 100%;
  overflow: auto;
  padding: 12px;
}
.bio-wrap:hover .bio-long-text {
  display: block;
}
.close-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background-color: rgba(255,255,255,0.25);
  border-radius: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.card-title2 {
  line-height: 16px;
}
.card-title1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.container2 {
  display: flex;
  flex-wrap: wrap;
  width: 1360px; /* 320px × 4 */
  padding: 0 40px;
}
.item-line,
.item-line2 {
  width: 100%;
  height: 1px;
  background-color: rgba(181, 181, 193, 0.5); /* Adjust the color as needed */
  position: relative;
}
.item-line::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 1px;
  background-color: rgba(181, 181, 193, 0.5); /* Adjust the color as needed */
  left: -40px;
  top: 0;  
}   
.item-line::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 1px;
  background-color: rgba(181, 181, 193, 0.5); /* Adjust the color as needed */
  right: -40px;
  top: 0;  
}      
.item, .item3 {
  width: 320px;
  height: 508px; /* You can adjust this as needed */
  box-sizing: border-box;
  border-right: 1px solid rgba(181, 181, 193, 0.5);
  padding: 40px;
  text-align: center;
  color: #fff;
  position: relative;
}
.item3 {
  border-right: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 10px;
}
.item .speaker-name,
.item3 .speaker-name {
font-family: Inter;
font-weight: 600;
font-size: 28px;
line-height: 32px;
letter-spacing: -1.37px;
text-align: center;
vertical-align: middle;
margin-top: 12px;

}
.item .speaker-desc,
.item3 .speaker-desc {
font-family: Inter;
font-weight: 500;
font-size: 18px;
line-height: 24px;
letter-spacing: -0.22px;
text-align: center;
margin-top: 12px;
word-break: break-word;
}
.item .btn-wrap,
.item3 .btn-wrap {
position: absolute;
bottom: 32px;
width: 100%;
left: 0;
display: flex;
justify-content: center;
}
.item .btn-wrap .btn-text,
.item3 .btn-wrap .btn-text {
width: 103px;
height: 32px;
border-radius: 32px;
border-width: 1px;
border-style: solid;
border-color: rgba(255, 255, 255, 1);
gap: 4px;
padding-top: 4px;
padding-right: 16px;
padding-bottom: 4px;
padding-left: 16px;
font-family: Inter;
font-weight: 400;
font-size: 16px;
line-height: 24px;
letter-spacing: -0.22px;
text-align: center;
vertical-align: middle;
box-sizing: border-box;
display: flex;
align-items: center;
cursor: pointer;

}
.item .btn-wrap .btn-text img,
.item3 .btn-wrap .btn-text img {
width: 11px;
height: 10px;
}
.item-title1 {
font-family: Inter;
font-weight: 600;
font-size: 48px;
line-height: 62.61px;
letter-spacing: -2.5px;
vertical-align: middle;
margin-top: 120px;
}
.item-title2 {  
font-family: Inter;
font-weight: 400;
font-size: 22px;
line-height: 32px;
letter-spacing: -0.63px;
text-align: center;
vertical-align: middle;
margin-top: 15px;

}
  
.container2-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.speaker-img-wrap {
position: relative;
width: 240px;
height: 240px;
background-color: rgba(255, 255, 255, 0.1);
padding: 12px;
}
.speaker-img-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
}
.speaker-img-wrap .tip4 {
width: 12px;
height: 12px;
background-color: rgba(60, 107, 255, 1);
position: absolute;
}
.item.c1 .speaker-img-wrap .tip4 {
background-color: rgba(60, 107, 255, 1);
}
.item.c2 .speaker-img-wrap .tip4 {
background-color: rgba(148, 77, 255, 1);
}
.item.c3 .speaker-img-wrap .tip4 {
background-color: rgba(92, 167, 205, 1);
}
.item3.c1 .speaker-img-wrap .tip4 {
background-color: rgba(60, 107, 255, 1);
}
.item3.c2 .speaker-img-wrap .tip4 {
background-color: rgba(148, 77, 255, 1);
}
.item3.c3 .speaker-img-wrap .tip4 {
background-color: rgba(92, 167, 205, 1);
}

.speaker-img-wrap .tip4.tip4-1 {
left: 0;
top: 0;
}
.speaker-img-wrap .tip4.tip4-2 {
right: 0;
top: 0;
}
.speaker-img-wrap .tip4.tip4-3 {
left: 0;
bottom: 0;
}
.speaker-img-wrap .tip4.tip4-4 {
right: 0;
bottom: 0;
}
.schedule-wrap {
width: 1200px;
padding: 32px 40px;
box-sizing: border-box;
background: rgba(32, 71, 183, 1);
}
.schedule-item {
padding: 32px 0;
display: flex;
color: #fff;

}
.schedule-left {
width: 150px;
font-size: 28px;
line-height: 36px;
filter: drop-shadow(1.5px 1.5px 0px rgba(92, 167, 205, 1));
flex-shrink: 0;
}
.schedule-right {
width: 100%;
padding-left: 40px;
font-size: 28px;
border-left: 1px solid #fff;
}
.schedule-item-title {
font-size: 28px;
line-height: 36px;
letter-spacing: 0.2%;
}
.schedule-item-item {
display: flex;
align-items: center;
margin-top: 16px;
font-size: 20px;
}
.schedule-item-item img {
width: 24px;
height: 28px;
margin-right: 12px;
}
.schedule-item-item div {
word-break: break-word;
}
.footer-wrap {
background: linear-gradient(180deg, #2047B7 0%, #162349 100%);
width: 100%;
height: 166px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;  
}
.rect-tip-wrap {
display: flex;
align-items: center;
width: 100%;
justify-content: space-between;
}
.rect-tip-left,
.rect-tip-right {
width: 16px;
height: 16px;
background-color: rgba(60, 107, 255, 1);
}
.rect-tip-left.tip1,
.rect-tip-right.tip1 {
background-color: rgba(92, 167, 205, 1);
}
.rect-tip-left.tip2,
.rect-tip-right.tip2 {
background-color: rgba(148, 77, 255, 1);
}
.abount-card {
width: 600px;
padding: 60px 56px;
}
.abount-card2 {
border-left: 1px solid rgba(181, 181, 193, 0.5);
}
.about-title {
margin-top: 10px;
margin-bottom: 24px;
font-size: 40px;
}
.about-text {
font-size: 22px;
line-height: 32px;
}
.page3-wrap {
display: flex; 
justify-content: center;
background-image: url('../imgs/bg/3.png');
background-position: left top; /* 图片居中 */
background-repeat: repeat; /* 不重复 */
background-size: 100%; /* 保持原始尺寸，不拉伸 */
}
.page4-wrap {
display: flex; justify-content: center; margin-top: 68px; margin-bottom: 40px;
background-image: url('../imgs/bg/4.png');
background-position: center; /* 图片居中 */
background-repeat: no-repeat; /* 不重复 */
background-size: 100%; /* 保持原始尺寸，不拉伸 */
}
.page1-wrap {
display: flex; justify-content: center;
}
.page1-wrap .content {
width: 1088px; color: #fff; padding-top: 60px;
}
.page1-title {
font-size: 48px; 
}
.page1-text {
font-size: 22px; margin-top: 24px;
}
.container2-wrap .item0 {
width: 640px;
}
.schedule-title {
font-size: 48px; margin-top: 68px; text-align: center;
}
.footer-wrap .p1 {
font-family: Inter-SemiBold; font-size: 28px; margin-bottom: 12px;

}
.footer-wrap .p2 {
font-size: 20px;
}
.speaker-dialog {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.dialog-content {
background-color: #fff;
border-radius: 10px;
width: 780px;
min-height: 388px;
max-height: 80%;
padding-bottom: 24px;
}
.dialog-title {
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid rgba(241, 245, 249, 1);
border-radius: 10px;
}
.speaker-tip {
display: flex;
align-items: center;  
justify-content: center;
width: 126px;
height: 44px;
color: #fff;
font-size: 20px;
font-family: Inter-SemiBold;
border-radius: 0 0 25px 0;
background-color: rgba(37, 99, 235, 1);
}
.icon-close {
width: 24px;
height: 24px;
cursor: pointer;
margin-right: 22px;
}
.dialog-main {
padding: 24px;
display: flex;
max-height: 500px;
overflow: auto;
}
.dialog-main .speaker-img-wrap {
flex-shrink: 0;
}
.speaker-info {
width: 100%;
color: #000;
padding-left: 24px;
padding-right: 24px;

}
.speaker-info-name {
font-size: 28px;
font-family: Inter-SemiBold;
margin-bottom: 12px;
font-weight: 600;
}
.speaker-info-name2 {
font-size: 18px;
font-family: Inter-Medium;
margin-bottom: 12px;
margin-top: 12px;
}
.speaker-info-name3 {
font-size: 16px;
line-height: 24px;
margin-bottom: 12px;
}
.container3 {
display: grid;
grid-template-columns: repeat(4, 1fr); /* 4 列 */
}
.container3 .item3 {
border: 1px solid rgba(181, 181, 193, 0.5);
border-top: none;

}
.container3 .item0 {
grid-column: span 2; 
}
.container3 .item3:nth-child(4n + 1) {
border-left: none;
}

.container3 .item3:nth-child(4n) {
border-right: none;
}
/* .container3 .item3:nth-last-child(-n + 4) {
border-bottom: none;
} */
.container3 .item3:last-child {
border-right: none;
}
.buy-btn {
position: fixed;
right: 75px;
top: 50%;
width: 166px;
height: 106px;
background-image: url('../imgs/icons/button-bg-2.png');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
z-index: 9999;
font-size: 18px;
font-family: Inter-SemiBold;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
padding: 0 20px;
text-align: center;
cursor: pointer;
}
.buy-btn2 {
width: 100%;
height: 82px;
background-image: url('../imgs/icons/button-bg.png');
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;

margin-top: 22px;
}
.buy-btn2-content {
width: 100%;
height: 100%;
font-size: 22px;
font-family: Inter-SemiBold;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
padding: 0 50px;
text-align: center;
cursor: pointer;
padding-top: 10px;
}
/* **小屏幕 (小于 1280px) 切换为 3 列布局** */
@media (max-width: 1279px) {
.container3 {
  grid-template-columns: repeat(3, 1fr); /* 3 列 */
}
.container3 .item0 {
  grid-column: span 1; 
  width: 320px;
}
/* 重新调整边框规则 */

/* 每一行的第一列无左边框（3 列布局） */
.container3 .item3:nth-child(3n + 1):not(:first-child) {
  border-left: none;
}

/* 每一行的最后一列无右边框（3 列布局） */
.container3 .item3:nth-child(3n),
.container3 .item3:first-child + .item:nth-child(2) { 
  border-right: none;
}

/* 最后一行的所有元素无底边框（3 列布局） */
.container3 .item3:nth-last-child(-n + 3) {
  border-bottom: none;
}
}
.container4 {
border-bottom: 1px solid rgba(181, 181, 193, 0.5);
}
/* **小屏幕 (<970px) 切换为 1 列布局** */
@media (max-width: 969px) {
.container3 {
  grid-template-columns: 1fr; /* 1 列 */
}

/* 1列布局：所有边框规则重置 */
.container3 .item3,
.container4 {
  border:none
}

/* 1列布局：第一项无左边框 */
.container3 .item3:first-child {
  border-left: none;
}

/* 1列布局：最后一项无底边框 */
.container3 .item3:last-child {
  border-bottom: none;
}
}

@media (max-width: 768px) {
  .bio-wrap {
      width: 100%;
      height: auto;
      min-height: 400px;
  }
  .schedule-card {
      margin: 1rem;
  }
  .page1-wrap .content {
    width: 100%; 
    padding: 24px 20px;
  }
  .page1-title {
    font-size: 24px; 
  }
  .page1-text {
    font-size: 16px; margin-top: 16px;
  }
  .schedule-wrap {
    width: 100%;
    padding: 24px 20px;
  }
  .container2-wrap .item0 {
    width: 100%;
    height: auto;
    padding: 0;
  }
  .container2-wrap .item {
    border-right: none;
  }
  .container2-wrap .item-line {
    display: none;
  }
  .item-title1 {
    font-size: 24px;
    font-family: Inter;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -1.5px;
    text-align: center;
    vertical-align: middle;
    margin-top: 0;
  }
  .item-title2 {
    display: none;
  }
  .schedule-title {
    font-size: 24px;
    margin-top: 24px;
  }

  .schedule-item {
    flex-direction: column;
  }
  .schedule-left {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .schedule-right {
    padding-left: 12px;
  }
  .schedule-item-title {
    font-size: 18px;
    line-height: 26px;
  }
  .schedule-item-item {
    font-size: 16px;
    line-height: 24px;
  }
  .schedule-item-item img {
    width: 18px;
    height: 20px;
  }
  .page4-wrap {
    flex-direction: column;
    background-image: none;
  }
  .abount-card {
    width: 100%;
    padding: 20px;
  }
  .about-title {
    font-size: 24px;
  }
  .about-text {
    font-size: 16px;
    line-height: 24px;
  }
  .footer-wrap {
    height: 97px;
  }
  .footer-wrap .p1 {
    font-size: 18px;
  }
  .footer-wrap .p2 {
    font-size: 16px;
  }

  .dialog-main {
    flex-direction: column;
    align-items: center;
  }
  .speaker-info-name {
    margin-top: 12px;
  }
  .dialog-content {
    width: 90%;
  }

  .buy-btn2 {
    height: 68px;
    background-image: url('../imgs/icons/button-mobile.png');
  }
  .buy-btn {
    display: none;
  }
}