/* home.css */
/* 使页面内容居中并设置宽度 */
.container {
    width: 1170px;
    margin: 0 auto; /* 自动左右居中 */
    display: flex;
    justify-content: space-between;
    padding-top: 30px; /* 为容器添加顶部间距 */
}

/* 左列样式 */
.left-column {
    width: 780px;
    margin-right: 20px; /* 左右列之间的间距 */
}

/* 右列样式 */
.right-column {
    width: 390px;
}

/* 标题样式 */
h2.title {
    font-size: 24px;
    color: #272c4d;

    margin-bottom: 20px;
    text-decoration: underline; /* 为标题添加下划线 */
}

h3.subtitle {
    font-size: 20px;
    color: #272c4d;
    margin-bottom: 15px;
}

h3.subtitle2 {
    font-size: 16px;
    color: #272c4d;
    margin-bottom: 15px;
}

/* 正文样式 */
p.text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #555;
}

.inline {
    display: inline-block; /* 保持元素在同一行 */
    margin-right: 10px; /* 控制标题和内容之间的间距 */
}


ul.text,
li.text{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #555;
}

/* 左侧图片样式 */
.left-column img.content-image {
    width: max(calc(40% - 20px),180px); /* 固定宽度为左列宽度的一半减去20px */
    height: auto; /* 保持图片的宽高比 */
    margin-bottom: 20px; /* 图片与文字之间的间距 */
    display: block;
}

.left-column img.poster-image {
    width: 100%; /* 固定宽度为左列宽度 */
    height: auto; /* 保持图片的宽高比 */
    margin-bottom: 20px; /* 图片与文字之间的间距 */
    display: block;
}

.left-column img.logo-image {
    max-width: 50%; /* 固定宽度为左列宽度的一半减去20px */
    height: auto; /* 保持图片的宽高比 */
    margin-bottom: 20px; /* 图片与文字之间的间距 */
    display: block;
}

/* 右侧图片和视频样式 */
.right-column .image img,
.right-column .video video {
    max-width: 100%; /* 图片和视频宽度自适应列宽 */
    height: auto; /* 保持图片和视频的宽高比 */
    margin-bottom: 20px; /* 图片与文字之间的间距 */
}

.video p, .image p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* 为 right-column 内的 image div 添加上下间距 */
.right-column .image {
    margin-top: 20px; /* 设置上间距 */
    margin-bottom: 20px; /* 设置下间距 */
}

.right-column .image .content-image-short{
    max-width: 50%;
    height: auto;
}

/* 为 right-column 内的 image div 添加上下间距 */
.right-column .image {
    margin-top: 20px; /* 设置上间距 */
    margin-bottom: 20px; /* 设置下间距 */
}

.right-column .image .content-image-short {
    max-width: 50%;
    height: auto;
}

/* 为 Mainland Collaborators 部分设置网格布局 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 两列布局 */
    gap: 10px; /* 图像之间的间距 */
    margin-top: 20px;
    margin-bottom: 20px;
}

.image-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-item img {
    max-width: 100%;
    height: auto;
}


.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 10px;
    text-align: left;
    color: #555; /* 设置文字为淡灰色 */
}

.schedule-table td strong {
    color: #272c4d; /* 保持加粗部分为黑色 */
}

.schedule-table th {
    font-weight: bold;
    color: #272c4d; /* 表头保持黑色 */
    border-bottom: 1px solid #ddd;
}

.schedule-table tr td {
    border-bottom: 1px solid #f1f1f1; /* 为行添加底部边框以区分内容 */
}




/* 调整列布局为上下布局并设置宽度为100% */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: calc(100% - 50px);
        margin: 0;
    }

    .left-column,
    .right-column {
        width: 100%; /* 设置宽度为100% */
        margin-right: 0; /* 移除右侧间距 */
        margin-left: 0;

    }

    .right-column .image {
        margin-top: 20px; /* 设置上间距 */
        margin-bottom: 20px; /* 设置下间距 */

    }
}


.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio (9/16 = 0.5625, 56.25%) */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.pdf-section {
    margin-top: 30px;
    margin-bottom: 40px;
}

.pdf-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.pdf-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 1100px;
}

.pdf-container iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.download-link {
    text-align: center;
    margin: 20px 0;
}

.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-download:hover {
    background-color: #3367d6;
    text-decoration: none;
    color: white;
}

.btn-download i {
    margin-right: 8px;
}