/* ============================================================
   2026光储资本市场回顾与展望——新能源产业交流会
   PC / H5 单页自适应样式
   字号规范（全局双数）：12 / 14 / 16 / 18 / 20 / 22 / 24
   ============================================================ */
:root {
    --navy-900: #08294F;
    --navy: #0E3A6B;
    --blue: #1F63AE;
    --sky: #EAF2FB;
    --ink: #17293D;
    --text: #46586E;
    --muted: #6C7E93;
    --line: #E4ECF6;
    --radius: 16px;
    --shadow: 0 16px 40px rgba(11, 44, 82, .10);
    --shadow-soft: 0 6px 18px rgba(11, 44, 82, .06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F2F6FC;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.4;
}

/* ---------- 头图 ---------- */
.hero {
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    background: #DDEAF8;
}

/* 兼容不支持 aspect-ratio 的旧浏览器（Android 4.4-9 / iOS 10-14）：保持 16:9 */
.hero {
    position: relative;
}

.hero::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 56.25%; /* 9/16 = 56.25% */
}

.hero img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@supports (aspect-ratio: 16 / 9) {
    .hero::before {
        display: none;
    }
    .hero img {
        position: static;
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

/* ---------- 内容区 ---------- */
.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* 标题、时间、地点 */
.intro {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    padding: 22px 18px 20px;
}

.title-main {
    display: block;
    font-size: 22px;
    letter-spacing: .5px;
    color: var(--navy-900);
}

.title-sub {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: .5px;
}

.meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    /* Android 6-8 / iOS 10-11 旧内核不支持 flex 的 gap 属性，改用相邻 margin */
}

.meta > * + * {
    margin-top: 14px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
}

.meta-item > * + * {
    margin-left: 12px;
}

.meta-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--sky);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.meta-icon svg {
    width: 19px;
    height: 19px;
}

.meta-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.meta-label {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.6;
    word-break: break-word;
}

.meta-note {
    font-weight: 400;
    font-size: 12px;
    color: var(--muted);
}

.meta-value-nowrap {
    white-space: nowrap;
}

/* ---------- 两栏布局（移动端单列：报名卡在上，详情在下） ---------- */
.layout {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

/* 移动端报名卡排在详情之前 */
.col-side {
    order: -1;
}

/* 移动端：详情卡片与上方报名卡保持 16px 间距 */
.col-main {
    margin-top: 16px;
}

/* ---------- 活动详情 ---------- */
.detail {
    padding: 22px 18px 26px;
}

.sec-head {
    display: flex;
    align-items: baseline;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.sec-head > * + * {
    margin-left: 10px;
}

.sec-head h2 {
    position: relative;
    padding-left: 13px;
    font-size: 20px;
    color: var(--navy-900);
    letter-spacing: 1px;
}

.sec-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, #2E86CE, #0E3A6B);
}

.chapter {
    margin-top: 26px;
}

.ch-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: var(--navy);
}

.ch-title > * + * {
    margin-left: 10px;
}

.ch-mark {
    flex: 0 0 4px;
    width: 4px;
    height: 16px;
    margin-right: 12px;
    border-radius: 2px;
    background: linear-gradient(180deg, #2E86CE, #0E3A6B);
}

.paragraph {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.95;
    text-align: justify;
    word-break: break-word;
}

/* 活动亮点 */
.highlight-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
}

.highlight-list > * + * {
    margin-top: 10px;
}

.highlight-item {
    display: flex;
    padding: 14px 14px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, #FCFDFF 0%, #F5F9FF 100%);
}

.highlight-item > * + * {
    margin-left: 12px;
}

.highlight-no {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #D7E5F5;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-text h4 {
    font-size: 14px;
    color: var(--navy);
    line-height: 1.6;
}

.highlight-text p {
    margin-top: 5px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
    text-align: justify;
}

/* 活动流程 */
.flow {
    margin-top: 16px;
}

.flow-item {
    display: flex;
}

.flow-time {
    flex: 0 0 84px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 13px;
    background: var(--sky);
    color: var(--blue);
    font-size: 12px; /* 避免 "14:00-14:05" 在窄屏胶囊内折行 */
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .2px;
    white-space: nowrap;
}

.flow-item > * + * {
    margin-left: 12px;
}

.flow-body {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 2px 0 22px 16px;
    border-left: 1px solid var(--line);
}

.flow-body::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

.flow-item:last-child .flow-body {
    padding-bottom: 4px;
    border-left-color: transparent;
}

.flow-item:last-child .flow-body::before {
    background: #AFC0D3;
}

.flow-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.65;
}

.flow-speaker {
    margin-top: 3px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.flow-item.is-end .flow-title {
    color: var(--muted);
    font-weight: 500;
}

/* ---------- 报名 ---------- */
.signup {
    padding: 20px 18px 22px;
}

.signup-head h2 {
    font-size: 20px;
    color: var(--navy-900);
    letter-spacing: 1px;
}

.signup-head p {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}

#signupForm {
    margin-top: 16px;
}

.field {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 10px;
    border: 1px solid #DFE9F5;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
}

.field > * + * {
    margin-left: 10px;
}

.field+.field {
    margin-top: 10px;
}

.field:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(31, 99, 174, .12);
}

.field.is-error {
    border-color: #E23B47;
    box-shadow: 0 0 0 3px rgba(226, 59, 71, .1);
}

/* 必填项红色星号：绝对定位在图标左侧，不占 flex 宽度，图标在所有行保持同一 x 位置 */
.field.is-required {
    padding-left: 14px;
}
.field.is-required::before {
    content: '*';
    position: absolute;
    left: 6px;
    top: 47%;
    transform: translateY(-50%);
    color: #E23B47;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.field-icon {
    flex: 0 0 20px;
    height: 20px;
    color: #7C93AE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.field-icon svg {
    width: 19px;
    height: 19px;
}

.field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    border-radius: 0;
    outline: none;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
}

.field input:focus {
    background: #fff;
}

/* 去除浏览器自动填充/点击时的蓝色或黄色底色 */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: var(--ink);
    caret-color: var(--ink);
    transition: background-color 5000s ease-in-out 0s;
}

.field input::placeholder {
    font-size: 14px;
    color: #A3B1C4;
}

.field input:focus::placeholder {
    color: transparent;
}

.submit-btn {
    width: 100%;
    height: 50px;
    margin-top: 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(120deg, #0E3A6B 0%, #1F63AE 55%, #2E86CE 100%);
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    text-indent: 3px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16, 61, 112, .26);
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(16, 61, 112, .3);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(16, 61, 112, .22);
}

.submit-btn:disabled {
    cursor: default;
    opacity: .68;
    transform: none;
    box-shadow: none;
}

.form-note {
    margin-top: 12px;
    font-size: 12px;
    color: #9AAABD;
    text-align: center;
    line-height: 1.6;
}

.signup-done {
    padding: 22px 0 12px;
    text-align: center;
}

.done-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 50%;
    background: #E7F6EC;
    color: #2BA45F;
    display: flex;
    align-items: center;
    justify-content: center;
}

.done-icon svg {
    width: 24px;
    height: 24px;
}

.signup-done h3 {
    margin-top: 14px;
    font-size: 18px;
    color: var(--navy);
}

.signup-done p {
    margin-top: 6px;
    font-size: 14px;
    color: var(--muted);
}

/* ---------- 页脚 ---------- */
.footer {
    margin-top: 32px;
    background: linear-gradient(120deg, #0B2B52 0%, #123C6B 100%);
    color: #fff;
}

.footer-pc {
    display: none;
}

.footer-mobile {
    padding: 22px 16px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .66);
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-bottom {
    text-align: center;
}

.footer-nav {
    font-size: 12px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .55);
}

.footer-nav a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    margin: 0 4px;
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-nav span {
    color: rgba(255, 255, 255, .3);
}

.footer-copyright {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

.footer-copyright a {
    color: rgba(255, 255, 255, .82);
}

/* ---------- 轻提示（屏幕居中） ---------- */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    max-width: 78vw;
    padding: 14px 24px;
    border-radius: 12px;
    background: rgba(8, 36, 70, .92);
    box-shadow: 0 12px 32px rgba(8, 41, 79, .28);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(.94);
    transition: opacity .22s, transform .22s, visibility .22s;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* ---------- 平板及 PC ---------- */
@media (min-width: 640px) {
    .title-main {
        font-size: 28px;
    }

    .title-sub {
        font-size: 18px;
    }

    .intro {
        padding: 28px 28px 24px;
        margin-top: 20px;
    }

    .meta {
        flex-direction: row;
    }

    .meta > * + * {
        margin-top: 0;
        margin-left: 40px;
    }

    .meta-item {
        align-items: center;
    }
}

@media (min-width: 960px) {
    body {
        background: #EFF4FB;
    }

    .hero {
        border-radius: 0 0 20px 20px;
        box-shadow: 0 18px 44px rgba(8, 41, 79, .16);
    }

    .wrap {
        padding: 0 24px 56px;
    }

    .intro {
        padding: 36px 40px 32px;
        margin-top: 24px;
    }

    .title-main {
        font-size: 34px;
        letter-spacing: 1px;
    }

    .title-sub {
        margin-top: 8px;
        font-size: 20px;
    }

    .meta {
        margin-top: 24px;
        padding-top: 22px;
    }

    .meta > * + * {
        margin-left: 64px;
    }

    .meta-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .meta-icon svg {
        width: 21px;
        height: 21px;
    }

    .meta-label {
        font-size: 12px;
    }

    .meta-value {
        font-size: 16px;
    }

    .meta-note {
        font-size: 14px;
    }

    .layout {
        display: flex;
        flex-direction: row;
        margin-top: 24px;
        align-items: flex-start;
    }

    .col-main {
        flex: 1;
        min-width: 0;
        margin-top: 0; /* PC 双栏，顶部对齐，不需要移动端的上间距 */
    }

    .col-side {
        order: 0; /* PC：详情在左，报名在右，恢复 DOM 顺序 */
        flex: 0 0 352px;
        margin-left: 24px;
        position: -webkit-sticky; /* iOS 6-12 */
        position: sticky;
        top: 24px;
    }

    .detail {
        padding: 32px 38px 38px;
    }

    .sec-head {
        padding-bottom: 16px;
    }

    .sec-head h2 {
        font-size: 22px;
    }

    .chapter {
        margin-top: 30px;
    }

    .ch-title {
        font-size: 18px;
    }

    .paragraph {
        font-size: 16px;
        line-height: 2;
    }

    .highlight-item {
        padding: 16px 18px;
    }

    .highlight-item > * + * {
        margin-left: 14px;
    }

    .highlight-text h4 {
        font-size: 16px;
    }

    .highlight-text p {
        font-size: 14px;
    }

    .flow {
        margin-top: 18px;
    }

    .flow-time {
        flex-basis: 112px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
        border-radius: 14px;
    }

    .flow-item > * + * {
        margin-left: 18px;
    }

    .flow-title {
        font-size: 16px;
    }

    .flow-speaker {
        font-size: 14px;
    }

    .signup {
        padding: 24px 22px 24px;
    }

    .signup-head h2 {
        font-size: 20px;
    }

    .signup-head p {
        font-size: 14px;
    }

    .footer {
        margin-top: 0;
        padding: 40px 0 24px;
    }

    .footer-pc {
        display: block;
    }

    .footer-mobile {
        display: none;
    }
}

@media (min-width: 1200px) {
    .hero {
        border-radius: 0 0 22px 22px;
    }

    .title-main {
        font-size: 36px;
    }
}
