body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #2c3e50;
    background-color: #dbe2ef;
    -webkit-font-smoothing: antialiased;
	margin: 0
}

header {
    font-family: "Libre-Baskerville", serif;
    font-weight: 800;
	font-size: 20px;
    line-height: 1.5;
    background-color: #2c3eb2;
    color: #fff;
    padding: 1rem;
    text-align: center
}
.header-mobile {
    display: none
}
@media (max-width: 780px) {
    .header-PC {
		display:none
	}
    .header-mobile {
        display: block;
		font-size: 20px
    }
}

/* 顶部菜单栏 */
.nav-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    justify-content: center;
    padding: 16px;
    background: #dbe2ef
}
.nav-container a {
    text-decoration: none;
    color: #2c3eb2;
    padding: 8px 16px;
    white-space: nowrap;
    border: 2px solid #014099;
    border-radius: 8px;
    transition: all .3s
}
.nav-container a:hover {
    border-color: #2c3eb2;
    background-color: #2c3eb2;
    color: #fff;
    animation: shake .5s ease-in-out
}
.nav-container a:active,.nav-container a:focus {
    border-color: #2c3eb2;
    background-color: #2c3eb2;
    color: #fff
}
.nav-container a:focus-visible {
    outline: none
}
.nav-container a.active {
    border-color: #1a2a88;
    background-color: #1a2a88;
    color: #fff
}
@media (max-width: 780px) {
    .nav-container {
        display:none
    }
}

/* 首页轮播图 */
.button {
    background-color: #2c3eb2;
    color: #fff;
    border: none;
    padding: .5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background .3s
}
.button:hover {
    background-color: #005f99
}
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px
}
.carousel-images {
    display: flex;
    width: 100%;
    height: auto;
    transition: transform .6s cubic-bezier(.4,0,.2,1)
}
.carousel-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex-shrink: 0
}
.carousel-nav,.nav-btn {
    display: none
}
.nav-btn {
    opacity: 0;
    pointer-events: none
}
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 10;
    align-items: center
}
.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: all .4s cubic-bezier(.4,0,.2,1)
}
.indicator.active {
    width: 64px;
    height: 64px;
    background-color: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background-image: url('./img/img-dot.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: #2c3eb2;
    transform: scale(1.2)
}
.indicator:hover:not(.active) {
    background-color: #fff;
    transform: scale(1.2)
}
@media (max-width: 780px) {
    .carousel-nav, .carousel-indicators {
		display:none
    }
}


.conference {
    margin: 2rem auto;
    max-width: 720px;
    background: #dbe2ef;
}
.conference h2 {
    color: #2c3eb2
}
.conference a {
    color: #005f99;
    text-decoration: none
}
.conference a:hover {
    text-decoration: underline
}
.speaker {
    display: flex;
    align-items: center;
    margin-top: 1.2rem;
    gap: 1rem
}
.speaker-photo {
    width: 120px;
    height: 120px;
    border-radius: 100%;
}

/* 人名和所属单位 */
.name-gradient {
	font-family: "Libre-Baskerville", serif;
    background: linear-gradient(90deg,#1a5fb4,#3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
    display: inline-block
}
.name-gradient:hover,.name-gradient-purple:hover,.name-gradient-teal:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(44,62,178,.5)
}
.affiliation {
	font-family: "Libre-Baskerville", serif;
    color: #4b5563;
    letter-spacing: .3px;
    transition: color .2s ease
}

/* 日程表 */
.program-container {
    font-family: "Roboto",sans-serif;
    max-width: 720px;
    margin: 20px auto;
    background-color: transparent;
    text-align: center
}
.program-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: transparent;
    margin-left: auto;
    margin-right: auto
}
.program-container td,.program-container th {
    border: 1px solid #444;
    padding: 12px 15px;
    vertical-align: middle;
    text-align: center
}
.program-container .header-main {
    background-color: #a9c4e9;
    font-weight: 600;
    font-size: 1.2em
}
.program-container .header-sub {
    background-color: #b8cce4;
    font-weight: 600
}
.program-container .time-col {
    width: 1%;
    white-space: nowrap;
    font-weight: 600;
    background-color: rgba(0,0,0,.03)
}
.program-container .primary-text {
    font-weight: 600;
    display: block;
    margin-bottom: 3px
}
.program-container .location-text {
    display: block;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 5px
}
.program-container .secondary-text {
    font-size: 1em;
    display: block;
    color: #444;
    line-height: 1.5
}
.program-container .break-row {
    background-color: #fde9d9;
    font-weight: 700;
    font-style: italic
}
.program-container .banquet-row {
    background-color: #fabf8f;
    font-weight: 700;
    font-style: italic
}
.program-container .parallel-wrapper {
    display: flex;
    width: 100%
}
.program-container .parallel-cell {
    flex: 1;
    padding: 10px
}
.program-container .parallel-cell:first-child {
    border-right: 1px solid #444
}
@media (max-width: 780px) {
    .program-container .parallel-wrapper {
        flex-direction: column;
    }
    .program-container .parallel-cell:first-child {
        border-right: none;
        border-bottom: 1px dashed #444;
    }
    .program-container .parallel-cell {
        padding: 15px 10px;
    }
}

/* 回到顶部按钮 */
#backToTop {
    position: fixed;
    bottom: 50px;
    right: 100px;
    z-index: 9999;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 100%;
    cursor: pointer;
    background: linear-gradient(135deg,#347ae8 0,#1557c0 100%);
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(52,122,232,.4);
    transition: all .3s ease
}
#backToTop:hover {
    filter: brightness(1.1);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(52,122,232,.6)
}
#backToTop svg {
    fill: none;
    stroke: currentColor
}
@media (max-width: 780px) {
  #backToTop {
    display: none !important;
  }
}

/* 字体设置 */
@font-face {
    font-family: "Libre-Baskerville", serif;
    font-style: normal;
    font-display: swap;
    src: url(/font/Libre-Baskerville.woff2) format('woff2');
}
@font-face {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-display: swap;
    src: url(/font/Roboto.woff2) format('woff2');
}