/**
 * 子栏目首页公共样式
 * 适用于各地区分站页面
 */

/* ========== CSS变量 ========== */
:root {
    --page-primary: #0094d4;
    --page-secondary: #6366f1;
    --page-gradient: linear-gradient(135deg, #00a5c4 0%, #4f46e5 100%);
    --page-text-light: #ffffff;
    --page-text-dark: #1a1a2e;
    --page-container-width: 1320px;
}

/* ========== 版心容器 ========== */
.page-container {
    max-width: var(--page-container-width);
    min-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ========== 关于我们栏目 ========== */
.page-about-section {
    width: 100%;
    min-height: 615px;
    background-image: url('../img/hgtabinnerbg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 0;
    box-sizing: border-box;
}

/* 关于我们 - 内容容器 */
.page-about-content {
    width: 100%;
    max-width: var(--page-container-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 关于我们 - 标题行 */
.page-about-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.page-about-title-icon {
    height: 40px;
    width: auto;
}

.page-about-title {
    font-size: 36px !important;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    text-align: left;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 关于我们 - 时间行 */
.page-about-time {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.page-about-time-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.page-about-time-item i,
.page-about-time-item .icon {
    font-size: 18px;
    opacity: 0.9;
}

.page-about-time-icon {
    height: 20px;
    width: auto;
}

.page-about-time-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
}

/* 关于我们 - 简介行 */
.page-about-intro {
    max-width: 900px;
    margin: 0 0 30px 0;
    text-align: left;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
}

/* 关于我们 - 官网链接 */
.page-site-link {
    display: inline-block;
    margin-bottom: 40px;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
    border: 1px solid #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.page-site-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    color: #fff;
}

.page-site-link:active {
    transform: translateY(0);
}

/* 关于我们 - 关键词块容器 */
.page-about-keywords {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

/* 关于我们 - 单个关键词块 */
.page-keyword-item {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 0;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.page-keyword-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 关键词块 - 标题 */
.page-keyword-title {
    font-size: 26px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0;
}

/* ========== 栏目背景图 ========== */
.page-section-bg {
    position: relative;
    background-image: url('../img/page-bg.jpg');
    background-size: 100% 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
}

/* ========== 子页面栏目标题 ========== */
.page-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 0 40px 0;
}

.page-section-title-icon {
    width: 22px;
    height: 32px;
    object-fit: contain;
}

.page-section-title-text {
    font-size: 36px !important;
    font-weight: 700;
    color: #0356d2 !important;
    margin: 0;
    letter-spacing: 2px;
}

/* ========== 议程表格 ========== */
.page-agenda-table {
    width: 100%;
    max-width: var(--page-container-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 16px;
}

/* 表头行 */
.page-agenda-table .agenda-header {
    display: flex;
    border: 1px solid #d4ebf7;
    background-color: #eeefef;
}

.page-agenda-table .agenda-header .agenda-cell {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #d4ebf7;
    padding: 0 20px;
}

.page-agenda-table .agenda-header .agenda-col-content {
    justify-content: center;
    padding: 0 30px;
}

.page-agenda-table .agenda-header .agenda-cell:last-child {
    border-right: none;
}

/* 表格主体 */
.page-agenda-table .agenda-body {
    border-left: 1px solid #d4ebf7;
    border-right: 1px solid #d4ebf7;
}

/* 数据行 */
.page-agenda-table .agenda-row {
    display: flex;
    border-bottom: 1px solid #d4ebf7;
}

.page-agenda-table .agenda-row .agenda-cell {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    border-right: 1px solid #d4ebf7;
    padding: 15px 20px;
}

.page-agenda-table .agenda-row .agenda-cell:last-child {
    border-right: none;
}

/* 列宽定义 - 两列布局 */
.page-agenda-table .agenda-col-time {
    width: 20%;
    flex-shrink: 0;
    padding: 0 20px;
}

.page-agenda-table .agenda-col-content {
    width: 80%;
    min-width: 70%;
    flex-shrink: 0;
    padding: 0 30px;
    text-align: left;
    justify-content: flex-start;
}

/* 时间列样式 */
.page-agenda-table .agenda-time {
    white-space: nowrap;
    font-weight: 500;
}

/* ========== 报名方式 ========== */
.registration-methods {
    width: 100%;
    max-width: var(--page-container-width);
    margin: 0 auto 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.registration-method-1 {
    height: 70px;
    background-image: url('../img/bmfs01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.registration-method-1 a {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin-left: 15%;
}

.registration-method-1 a:hover {
    opacity: 0.8;
}

/* PC端隐藏方式一标签 */
.registration-method-label {
    display: none;
}

.registration-method-2 {
    width: 100%;
    margin-top: 45px;
    margin-bottom: 70px !important;
}

.registration-method-2 img {
    width: 100%;
    display: block;
}

/* ========== 报名卡片 ========== */
.registration-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    max-width: var(--page-container-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.registration-card {
    height: 300px;
    background-image: url('../img/bottom-bg.jpg');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.registration-card:hover {
    transform: translateY(-5px);
}

.registration-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 68px 20px 30px 20px;
    box-sizing: border-box;
    position: relative;
}

/* 国家行 */
.registration-country {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px !important;
}

/* 地区行 */
.registration-region {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-weight: 400;
}

/* 时间行 */
.registration-time {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    bottom: 60px;
    left: 20px;
    right: 20px;
    text-align: center;
    padding-top: 15px;
    transition: transform 0.4s ease, opacity 0.3s ease;
    margin-bottom: 12px !important;
}

/* 时间行上边框装饰 */
.registration-time::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #ffffff;
}

.registration-time::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #ffffff;
}
.registration-card-inner .registration-btn{
    color: #ffffff !important;
}
.registration-btn a:active, a:hover{
    color: #ffffff;
}
/* 查看详情按钮 */
.registration-btn {
    position: absolute;
    bottom: -50px;
    font-size: 14px;
    color: #ffffff;
    padding: 5px 40px;
    background: transparent;
    border: 1px solid #ffffff;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.4s ease, bottom 0.4s ease, background 0.3s ease;
}

.registration-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 悬停动画效果 */
.registration-card:hover .registration-time {
    transform: translateY(-30px);
}

.registration-card:hover .registration-btn {
    opacity: 1;
    bottom: 50px;
}

/* ========== 响应式适配 ========== */
@media screen and (max-width: 1024px) {
    .page-about-section {
        min-height: auto;
        padding: 50px 0;
    }

    .page-about-title {
        font-size: 30px;
    }

    .page-about-title-icon {
        height: 35px;
    }

    .page-about-keywords {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .page-about-time {
        flex-wrap: wrap;
    }

    .page-keyword-title {
        font-size: 22px;
    }

    .page-section-title {
        padding: 50px 0 30px 0;
    }

    .page-section-title-text {
        font-size: 30px;
    }

    .page-section-title-icon {
        width: 28px;
        height: 28px;
    }

    /* 平板端报名卡片 - 只改变布局，不改变卡片尺寸 */
    .registration-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media screen and (max-width: 767px) {
    .page-about-section {
        padding: 40px 0;
    }

    .page-about-title-wrapper {
        gap: 8px;
        margin-bottom: 15px;
    }

    .page-about-title-icon {
        height: 28px;
    }

    .page-about-title {
        font-size: 24px;
    }

    .page-about-time {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-about-time-divider {
        display: none;
    }

    .page-about-intro {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .page-about-keywords {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-keyword-item {
        height: 100px;
    }

    .page-keyword-title {
        font-size: 20px;
    }

    .page-section-title {
        padding: 40px 0 25px 0;
        gap: 12px;
    }

    .page-section-title-text {
        font-size: 24px;
    }

    .page-section-title-icon {
        width: 22px;
        height: 22px;
    }

    .page-agenda-table {
        width: 100%;
        padding: 0 15px;
        font-size: 14px;
    }

    .page-agenda-table .agenda-header .agenda-cell,
    .page-agenda-table .agenda-row .agenda-cell {
        height: auto;
        min-height: 50px;
        padding: 12px 8px;
    }

    .page-agenda-table .agenda-time {
        white-space: normal;
    }

    /* 移动端列宽调整 */
    .page-agenda-table .agenda-col-time {
        width: 22%;
    }

    .page-agenda-table .agenda-col-content {
        width: 48%;
    }

    .page-agenda-table .agenda-col-speaker {
        width: 30%;
    }

    /* 移动端报名方式 */
    .registration-methods {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .registration-method-1 {
        height: auto;
        background-image: none !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 20px;
        padding: 0;
    }

    .registration-method-label {
        display: block;
        color: #0e5bd3;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .registration-method-1 a {
        color: #0e5bd3 !important;
        font-size: 14px !important;
        margin-left: 0;
        word-break: break-all;
    }

    /* 移动端报名卡片 - 只改变布局，不改变卡片尺寸 */
    .registration-cards {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
}

/* 更小屏幕单列布局 */
@media screen and (max-width: 480px) {
    .registration-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* 视频背景区域的标题图片样式 */
.home-background-container .elementor-element-e3b77c0 {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.home-background-container .elementor-element-e3b77c0 .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-background-container .elementor-element-e3b77c0 img {
    width: 80%;
    height: auto;
    max-width: 80%;
    object-fit: contain;
    display: block;
}

