@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html{
    scroll-behavior:smooth;
}


body {
    margin: 0;
    padding: 0;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    background-color: white;
    width: 100%;
    overflow-x: hidden;
}

a {
    color: #0086e6;
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 4em;
}

@media screen and (max-width: 1280px) {
    h1 {
        font-size: 3em;
    }
}


h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 0.5em;
}

.subtitle {
    font-size: 2em;
    margin: 10px;
}

.nav {
    width: 100%;
    box-shadow: 0 2px 2px #888;
    font-size: 1.3em;
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
}

@media screen and (max-width: 768px) {
    h1 {
        font-weight: 400;
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.3em;
    }
    h3 {
        font-size: 1em;
    }
    .subtitle {
        font-size: 1.1em;
    }
    .nav {
        font-size: 1em;
    }
}

.nav-container {
    max-width: 1000px;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.nav a {
    display: block;
    transition: all 0.3s;
    color: gray;
    margin: 5px 20px;
    text-decoration: none;
    white-space: nowrap;
}

.nav a:hover {
    color: black;
}


.title-container {
    position: relative;
    /* width: calc(100% - 40px); */
    width: 100vw;
    min-height: 20vw;
    margin: auto;
    /* padding: 40px 20px; */
    padding: 40px 0;
    /* color: white; */
    /* background-image: linear-gradient(135deg,#333, black, #333); */
    /* color: white; */
    background-image: url("../img/background.png");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overlay {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  /* padding: 20px; */
  text-align: center;
  color: #333;
}

.container {
    margin: auto;
    max-width: 1000px;
    padding: 40px 20px;
}

.section {
    margin-top: -150px;
    padding-top: 150px;
    margin-bottom: 20px;
}

table {
    border-spacing: 0;
}

td, th {
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even){
    background-color: #f2f2f2;
}

th {
    text-align: left;
}

/* Speakers, organizers, etc. */
.people {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
}

.people > * {
    display: block;
    width: 140px;
    margin: 10px;
    text-decoration: none;
    color: inherit;
}

.people img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.people .affiliation {
    font-size: 0.8em;
    color: #444;
}

#reviewers ul {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
}

footer {
    background-color: #eee;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.section {
margin-top: 0;
padding-top: 0;
scroll-margin-top: 100px;
padding: 30px;
margin-bottom: 30px;
background: white;
border-radius: 12px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}

.section:hover {
transform: translateY(-5px);    
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.img-container {
text-align: center;
margin: 25px 0;
padding: 15px;
background: #f9f9f9;
border-radius: 12px;
}

.img-container img {
max-width: 90%;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}

.img-container img:hover {
transform: scale(1.02);
}

.caption {
color: #666;
font-size: 0.95em;
margin-top: 12px;
font-style: italic;
}

.terrain-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin: 30px 0;
}

.terrain-item {
text-align: center;
}

.call-topics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 20px;
}

.topic-card {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
border-left: 4px solid #0086e6;
}

.important-dates {
background: #e6f7ff;
padding: 20px;
border-radius: 10px;
margin: 25px 0;
border-left: 4px solid #0086e6;
}

.date-item {
display: flex;
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px dashed #cce6ff;
}

.date-label {
font-weight: 600;
min-width: 200px;
color: #0056b3;
}

.nav a {
position: relative;
padding: 5px 0;
}

.nav a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: #0086e6;
transition: width 0.3s ease;
}

.nav a:hover::after {
width: 100%;
}

@media (max-width: 768px) {
.terrain-grid, .call-topics {
    grid-template-columns: 1fr;
}

.section {
    padding: 20px;
}

h1 {
    font-size: 2.2em;
}
}

img {
    border-radius: 10px; /* 设置圆角半径为20px */
    max-width:90%;
    height:auto;
    margin-top: 20px;
}

.video-carousel {
    width: 100%;
    max-height: 800px;        /* 根据需要调整整体高度 */
    margin-bottom: 2rem;
    position: relative;
  }
  
.video-carousel .swiper-slide {
width: auto;              /* 配合 slidesPerView: 'auto' 或 固定 slidesPerView */
}

.video-carousel .swiper-slide video {
width: 100%;
height: auto;
object-fit: cover;        /* 保持视频宽高比并填充容器 :contentReference[oaicite:9]{index=9} */
}


/* 1. .subsection 容器自身的上下外边距 */
.subsection {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* 2. .highlight-box（Registration template 那块灰底框）的样式 */
.highlight-box {
    border-radius: 0.5em;
    background-color: #f8f8f8;
    border-left: 4px solid #4285f4;
    padding: 15px;
    margin: 20px 0;
}

.image-carousel {
    width: 100%;
    max-width: 800px;  /* 根据需要 */
    margin: 0 auto 2rem;
  }
  
  .image-carousel .swiper-slide {
    display: flex;
    justify-content: center;
  }

  .image-carousel .img-container {
    background: #f9f9f9;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .image-carousel .caption {
    margin-top: 8px;
    font-style: italic;
    color: #666;
  }
  

  .sponsor-logo {
    width: 150px !important;
    height: auto !important;
    display: block;   /* 如果你想让它独占一行 */
    margin: 5px 0;/* 上下 20px 居中 */
    }
    
    /* 1. 强制 Organizers 卡片为垂直居中布局 */
    #organizers .people a {
        display: flex;              /* 激活 flex 布局 */
        flex-direction: column;     /* 垂直堆叠子元素 */
        align-items: center;        /* 水平居中子元素 */
        text-align: center;         /* 文字在多行时也居中 */
      }
    /* Organizers：放大到 160×160px，覆盖全局 img 规则 */
    /* 2. 放大 Organizers 头像为 160×160 正圆，覆盖全局 img 规则 */
    #organizers .people a img {
        width: 140px !important;
        height: 140px !important;
        max-width: none !important;    /* 取消任何 max-width 限制 */
        object-fit: cover;             /* 中心裁剪填满圆形 */
        border-radius: 50%;            /* 正圆 */
        margin-bottom: 0.5rem;         /* 头像与文字间距 */
      }
      
      
      
    /* 3. 同样处理 Sponsors 区块（如果 Sponsors 也要圆形头像/Logo）*/
    #sponsors .people a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    #sponsors .people a img {
    width: 140px !important;
    height: 140px !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    }

    #sponsors .people a img[src$="unitree-logo.svg"] {
    object-fit: contain !important;  /* 不裁剪，按比例缩进容器 */
    padding: 0px;                   /* 通过内边距“缩小”图形 */
    box-sizing: border-box;          /* 让 padding 包含在 140×140 内，不改变外观大小 */
    background: #fff;                /* 与白色背景一致，避免透明边看着怪 */
    border-radius: 0%;              /* 仍然保持圆形卡片 */
    }