:root {
    --brand-blue: #1563c7;
    --deep-blue: #0b2f66;
    --text-main: #1f2d3d;
    --bg-soft: #cfe7f7;
    --bg-soft-2: #d9ebfa;
    --red-node: #f42a31;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "ABeeZee", "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--text-main);
    background: #f4f6fa;
}

a {
    color: inherit;
    text-decoration: none;
}

.about-page {
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: min(1240px, calc(100% - 84px));
    margin: 0 auto;
}

.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(21, 99, 199, 0.12);
}

.topbar-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 248px;
}

.brand-icon {
    width: 36px;
    height: 30px;
    display: inline-block;
    background: linear-gradient(145deg, #2aa1db 0%, #1770d7 55%, #1f3f87 100%);
    clip-path: polygon(0 0, 38% 0, 53% 35%, 73% 0, 100% 0, 62% 100%, 30% 100%);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-family: "Athiti", sans-serif;
}

.brand-text strong {
    font-size: 24px;
    color: #1d448b;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-text span {
    font-size: 16px;
    color: #1f4d9f;
    font-weight: 700;
}

.top-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 16px;
    color: #1e2f49;
    white-space: nowrap;
}

.top-nav a {
    position: relative;
    line-height: 82px;
    transition: color 0.2s ease;
}

.top-nav a:hover,
.top-nav a.is-active {
    color: var(--brand-blue);
}

.top-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 2px;
}

.top-actions {
    min-width: 190px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.login-btn,
.lang-btn,
.search-btn {
    height: 30px;
    border: 1px solid #cad5ea;
    border-radius: 15px;
    background: #fff;
    font-size: 13px;
    color: #1f4d9f;
}

.login-btn,
.lang-btn {
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-btn {
    min-width: 52px;
    background: #1f4d9f;
    color: #fff;
    border-color: #1f4d9f;
}

.search-btn {
    width: 30px;
    position: relative;
}

.search-btn::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 7px;
    width: 10px;
    height: 10px;
    border: 2px solid #1f4d9f;
    border-radius: 50%;
}

.search-btn::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 6px;
    height: 2px;
    background: #1f4d9f;
    transform: rotate(45deg);
    transform-origin: left center;
}

.hero {
    position: relative;
    min-height: 450px;
    background: url("../../../../res/taiancms/default/static/img/about/header.png") center/cover
        no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(12, 60, 128, 0.86) 0%,
        rgba(16, 84, 172, 0.52) 32%,
        rgba(16, 84, 172, 0.04) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 178px;
    color: #fff;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 700;
}

.section {
    position: relative;
    padding: 56px 0 72px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-soft-2) 100%);
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 12% 42%,
            rgba(255, 255, 255, 0.26) 0,
            rgba(255, 255, 255, 0.06) 32%,
            transparent 33%
        ),
        radial-gradient(
            circle at 92% 9%,
            rgba(255, 255, 255, 0.2) 0,
            rgba(255, 255, 255, 0.04) 28%,
            transparent 29%
        ),
        linear-gradient(
            140deg,
            transparent 64%,
            rgba(255, 255, 255, 0.18) 64%,
            rgba(255, 255, 255, 0.18) 70%,
            transparent 70%
        );
    pointer-events: none;
}

.section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    margin: 0 0 28px;
    color: #1f4d9f;
    font-size: 36px;
    font-weight: 700;
}

.section-profile {
    padding: 172px 0;
    background: url("../../../../res/taiancms/default/static/img/about/group_back.png") center/cover
        no-repeat !important;
}

.profile-panel {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 0;
    align-items: center;
}

.profile-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-content {
    background: rgba(255, 255, 255, 0.92);
    padding: 34px 38px 0 38px;
    box-shadow: 0 12px 30px rgba(10, 43, 102, 0.12);
    line-height: 1.92;
    font-size: 16px;
    color: #3f4e66;
    min-height: 114%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-content p {
    margin: 0;
}

.profile-content p + p {
    margin-top: 20px;
}

.section-culture {
    padding-top: 56px;
}

.culture-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 760px;
    margin: 0 0 18px;
    align-items: center;
    justify-items: center;
}

.culture-icons span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.culture-icons img {
    max-width: 30px;
    max-height: 30px;
    display: block;
}

.culture-icons .is-current {
    border-radius: 50%;
    background: #ffffff;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: url("../../../../res/taiancms/default/static/img/about/cultural_back.png")
        center/cover no-repeat;
    position: relative;
    overflow: visible;
}

.value-card {
    min-height: 400px;
    padding: 20px 16px 24px;
    color: #fff;
    text-align: center;
    background: rgba(4, 63, 88, 0.62);
    position: relative;
    isolation: isolate;
    z-index: 1;
    cursor: pointer;
    transform: scale(1);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        box-shadow 0.4s ease;
}

/* 悬停卡片：放大弹出 + 蓝色高亮 + 深重阴影，其他卡片完全不变 */
.value-card:hover {
    z-index: 5;
    transform: scale(1.11);
    background: linear-gradient(160deg, #2e95fa 0%, #1058cc 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.22),
        0 20px 50px rgba(10, 70, 185, 0.7),
        0 4px 16px rgba(10, 70, 185, 0.45);
}

.value-card .num {
    font-size: 38px;
    font-family: "ABeeZee", "Athiti", sans-serif;
    line-height: 1;
    opacity: 0.95;
    margin-bottom: 12px;
}

/* 双图切换：正常显示 img-normal，隐藏 img-active */
.value-card .img-normal {
    display: block;
}

.value-card .img-active {
    display: none;
}

/* 悬停时：显示 img-active，隐藏 img-normal */
.value-card:hover .img-normal {
    display: none;
}

.value-card:hover .img-active {
    display: block;
}

/* 圆圈容器 */
.value-card .icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.78);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.4s ease;
}

/* 悬停时圆圈变白色背景 + 发光 */
.value-card:hover .icon-wrap {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.45);
}

.value-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

/* 05 国企担当：未悬停时图标反色为白 */
.value-card .is-temple-wrap .img-normal {
    filter: brightness(0) invert(1);
}

.value-card .is-temple {
    filter: brightness(0) invert(1);
}

.value-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
}

.value-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.section-structure {
    padding-top: 70px;
}

/* ===== 组织架构图 oc-* ===== */
#org-app {
    overflow-x: auto;
    padding-bottom: 16px;
}

.oc-chart {
    min-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 每一行 */
.oc-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

/* 节点基础样式 */
.oc-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 20px;
    background: var(--red-node);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(244, 42, 49, 0.28);
    position: relative;
}

.oc-node-root {
    font-size: 18px;
    padding: 8px 32px;
    border-radius: 24px;
    box-shadow: 0 6px 18px rgba(244, 42, 49, 0.38);
}

.oc-node-main {
    font-size: 16px;
    padding: 7px 24px;
}

.oc-node-sub {
    font-size: 13px;
    padding: 5px 14px;
    margin-top: 0;
}

.oc-node-branch {
    padding: 6px 16px;
    font-size: 14px;
}

/* 竖向连接线 */
.oc-connector {
    width: 2px;
    background: #f37c81;
    align-self: center;
}

.oc-conn-single {
    height: 20px;
}

.oc-conn-wide {
    height: 20px;
}

/* 第2层：三列布局 */
.oc-row-l2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-start;
    width: 100%;
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
}

.oc-row-l2::before {
    content: "";
    position: absolute;
    top: 18px;
    left: calc(50% - 200px);
    right: calc(50% - 200px);
    height: 2px;
    background: #f37c81;
}

.oc-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oc-col::before {
    content: "";
    width: 2px;
    height: 18px;
    background: #f37c81;
    display: block;
}

.oc-col-main {
    align-items: center;
}

.oc-col-main::before {
    display: none;
}

.oc-col-right {
    align-items: center;
}

/* 第3层：12个竖排部门 */
.oc-row-l3 {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.oc-row-l3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #f37c81;
}

.oc-vert {
    width: 26px;
    min-height: 90px;
    border-radius: 12px;
    background: var(--red-node);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(244, 42, 49, 0.22);
    position: relative;
}

.oc-vert::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 18px;
    background: #f37c81;
}

/* 第4层：5大板块 */
.oc-row-l4 {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    position: relative;
}

.oc-row-l4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #f37c81;
}

.oc-branch {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.oc-branch::before {
    content: "";
    width: 2px;
    height: 20px;
    background: #f37c81;
    display: block;
}

/* 叶子节点行 */
.oc-leafs-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    position: relative;
}

.oc-leafs-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #f37c81;
}

.oc-leaf-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oc-leaf-col::before {
    content: "";
    width: 2px;
    height: 16px;
    background: #f37c81;
    display: block;
}

.oc-leaf {
    width: 26px;
    padding: 10px 0;
    border-radius: 12px;
    background: var(--red-node);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 4px 10px rgba(244, 42, 49, 0.22);
    text-align: center;
    word-break: break-all;
}

.section-honor {
    padding-top: 70px;
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 16px;
}

.honor-card {
    height: 152px;
    border: 5px solid #ba8f5f;
    background:
        linear-gradient(120deg, rgba(255, 246, 212, 0.9), rgba(238, 222, 193, 0.66)),
        repeating-linear-gradient(
            90deg,
            rgba(201, 155, 113, 0.1) 0,
            rgba(201, 155, 113, 0.1) 2px,
            transparent 2px,
            transparent 12px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #8a2b1d;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.honor-card::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(167, 110, 63, 0.56);
}

.honor-card span {
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.honor-card:nth-child(2) {
    background:
        linear-gradient(130deg, rgba(255, 236, 165, 0.94), rgba(246, 223, 160, 0.7)),
        repeating-linear-gradient(
            90deg,
            rgba(198, 134, 82, 0.1) 0,
            rgba(198, 134, 82, 0.1) 2px,
            transparent 2px,
            transparent 12px
        );
}

.honor-card:nth-child(3),
.honor-card:nth-child(8) {
    background:
        linear-gradient(130deg, rgba(250, 216, 218, 0.95), rgba(243, 196, 199, 0.78)),
        repeating-linear-gradient(
            90deg,
            rgba(217, 109, 115, 0.12) 0,
            rgba(217, 109, 115, 0.12) 2px,
            transparent 2px,
            transparent 12px
        );
}

.honor-card:nth-child(4),
.honor-card:nth-child(6) {
    background:
        linear-gradient(130deg, rgba(249, 246, 242, 0.95), rgba(226, 223, 218, 0.82)),
        repeating-linear-gradient(
            90deg,
            rgba(140, 140, 140, 0.09) 0,
            rgba(140, 140, 140, 0.09) 2px,
            transparent 2px,
            transparent 12px
        );
    color: #4b4b4b;
}

.honor-card:nth-child(5),
.honor-card:nth-child(7) {
    background:
        linear-gradient(130deg, rgba(242, 246, 246, 0.95), rgba(227, 234, 235, 0.84)),
        repeating-linear-gradient(
            90deg,
            rgba(95, 148, 139, 0.1) 0,
            rgba(95, 148, 139, 0.1) 2px,
            transparent 2px,
            transparent 12px
        );
}

.slider-nav {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.arrow-btn {
    width: 70px;
    height: 32px;
    border-radius: 2px;
    background: linear-gradient(180deg, #2759a2 0%, #1e4c93 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
}

.section-team {
    padding-top: 58px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.team-card {
    height: 176px;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    /* background-color: #b0bec5; */
    /* background-size: cover; */
    /* background-position: center; */
    /* transform: scale(1.02); */
    /* transition: transform 0.45s ease; */
}

.team-card:hover::before {
    transform: scale(1.08);
}

/* 渐变遮罩层：默认仅覆盖下半部，hover 时上移覆盖全区域 */
.team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 25%,
        rgba(12, 55, 121, 0.82) 50%,
        rgba(12, 55, 121, 0.82) 100%
    );
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: background-position 0.45s ease;
}

.team-card:hover::after {
    background-position: 0% 100%;
}

.team-card-inner {
    position: absolute;
    left: 0;
    right: 0;
    top: 80%;
    bottom: 0;
    z-index: 2;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: top 0.45s ease;
}

.team-card:hover .team-card-inner {
    top: 0;
}

.team-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
    line-height: 1.2;
}

.team-arrow {
    font-size: 22px;
    color: #fff;
    font-weight: 400;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.25s ease 0.15s,
        transform 0.25s ease 0.15s;
}

.team-card:hover .team-arrow {
    opacity: 1;
    transform: translateY(0);
}

.team-bg-1::before {
    background-image: url("../../../../res/taiancms/default/static/img/1.png");
}

.team-bg-2::before {
    background-image: url("../../../../res/taiancms/default/static/img/2.png");
}

.team-bg-3::before {
    background-image: url("../../../../res/taiancms/default/static/img/about/header.png");
}

.team-bg-4::before {
    background-image: url("../../../../res/taiancms/default/static/img/3.png");
}

.team-bg-5::before {
    background-image: url("../../../../res/taiancms/default/static/img/4.png");
}

.team-bg-6::before {
    background-image: url("../../../../res/taiancms/default/static/img/about/group.png");
}

.page-footer {
    height: 230px;
    background: #ececec;
}

@media (max-width: 1360px) {
    .container {
        width: min(1240px, calc(100% - 56px));
    }

    .top-nav {
        gap: 18px;
        font-size: 15px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .brand-text span {
        font-size: 14px;
    }

    .value-card h3 {
        font-size: 20px;
    }

    .value-card p {
        font-size: 14px;
    }
}

@media (max-width: 1120px) {
    .topbar {
        position: static;
    }

    .topbar-inner {
        height: auto;
        padding: 16px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-nav {
        order: 3;
        width: 100%;
        line-height: 1.8;
        flex-wrap: wrap;
    }

    .top-nav a {
        line-height: 1.8;
    }

    .top-nav a.is-active::after {
        bottom: -2px;
    }

    .hero {
        min-height: 360px;
    }

    .hero-inner {
        padding-top: 110px;
    }

    .profile-panel {
        grid-template-columns: 1fr;
    }

    .culture-icons {
        margin: 0 auto 18px;
    }

    .value-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .value-card-active {
        margin: 0;
    }

    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 30px);
    }

    .hero {
        min-height: 300px;
    }

    .hero-inner {
        padding-top: 84px;
    }

    .hero h1 {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 20px;
    }

    .section {
        padding: 40px 0 50px;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .profile-content {
        padding: 22px;
        font-size: 14px;
        line-height: 1.8;
    }

    .culture-icons {
        grid-template-columns: repeat(5, 1fr);
        max-width: none;
    }

    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-card {
        min-height: 286px;
    }

    .honor-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .honor-card,
    .team-card {
        height: 180px;
    }

    .slider-nav {
        gap: 20px;
    }

    .arrow-btn {
        width: 62px;
    }

    .page-footer {
        height: 120px;
    }
}
