/* ==================== 企业培训课程 / 核心项目 ==================== */
.course-section {
    padding: 60px 0 30px;
    background: #f6f8fc;
}

.course-section .section-head {
    text-align: center;
    margin-bottom: 32px;
}

.course-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

/* 课程分类标签 */
.course-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}

.tab-btn:hover {
    border-color: #006aed;
    color: #006aed;
}

.tab-btn[aria-selected="true"] {
    color: #fff;
    background: #006aed;
    border-color: #006aed;
}

/* 标签内容面板 */
.tab-panels {
    position: relative;
}

.tab-panel {
    display: none;
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
     background-image: url(../images/item/item1.jpg);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 43% auto;
}

.tab-panel.active {
    display: block;
}

.panel-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

.panel-intro {
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom:1px solid #f6f6f6;
}

.panel-text {
    min-width: 0;
}

.panel-title {
    font-size: 32px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.35;
}

.panel-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.panel-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #006aed;
    margin: 0 0 16px;
}

.level-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.level-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.level-bullet {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    background: #006aed;
    border-radius: 2px;
    flex-shrink: 0;
}

.level-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.4;
}

.level-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.panel-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.panel-media img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* CPPM 证书层级图：以背景图形式展示在面板右侧 */
.tab-panel.has-media-bg .panel-layout {
    grid-template-columns: 1fr 40%;
    gap: 48px;
    /* background-image: url(../images/item/item1.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 380px auto; */
    /* padding-top:30px; */
    /* border-top: 1px solid #f6f6f6; */
}

/* 响应式 */
@media (max-width: 1024px) {
    .course-section {
        padding: 50px 0;
    }

    .tab-panel {
        padding: 32px;
    }

    .panel-layout {
        gap: 28px;
    }

    .panel-media {
        min-height: 220px;
    }

    .panel-media img {
        width: 100%;
    }

    .panel-media .cert-badge {
        width: 150px;
        height: 150px;
    }

    .tab-panel.has-media-bg .panel-layout {
        grid-template-columns: 1fr 34%;
        gap: 32px;
        background-size: 260px auto;
    }
}

@media (max-width: 768px) {
    .course-section {
        padding: 52px 0 30px;
    }

    .course-section .section-title {
        font-size: 26px;
    }

    .course-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 28px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .course-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 8px 18px;
        font-size: 14px;
        min-height: 36px;
    }

    .tab-panel {
        padding: 24px;
        border-radius: 12px;
    }

    .panel-title {
        font-size: 20px;
    }

    .panel-intro {
        margin-bottom: 24px;
    }

    .panel-intro p,
    .level-title {
        font-size: 14px;
    }

    .level-desc {
        font-size: 13px;
    }

    .panel-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .panel-media {
        order: -1;
        min-height: auto;
    }

    .panel-media .cert-badge {
        width: 130px;
        height: 130px;
    }

    /* 单列时背景图移到列表下方，避免压住文字 */
    .tab-panel.has-media-bg .panel-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        background-position: center bottom;
        background-size: 240px auto;
        padding-bottom: 208px;
    }
}

@media (max-width: 480px) {
    .tab-panel {
        padding: 20px;
    }

    .panel-title {
        font-size: 18px;
    }

    .panel-intro {
        margin-bottom: 20px;
    }

    .level-list {
        gap: 14px;
    }

    .level-item {
        gap: 10px;
    }

    .tab-panel.has-media-bg .panel-layout {
        background-size: 180px auto;
        padding-bottom: 168px;
    }
}

/* ==================== 美国ACI协会授权培训机构 ==================== */
.authority-section {
    padding: 40px 0 60px 0;
    background: #f6f8fc;
}

.authority-section .section-head {
    text-align: center;
    margin-bottom: 40px;
}

.authority-section .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 12px;
}

.authority-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
}

.authority-media {
    margin: 0;
}

.authority-media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.authority-content h3 {
    font-size: 24px;
    font-weight: 500;
    color: #282828;
    margin-bottom: 20px;
    line-height: 1.35;
}

.authority-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.authority-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.authority-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background: #0164ff;
    border-radius: 2px;
    transform: rotate(45deg);
}

.authority-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    color: #fff;
    background: #006aed;
    border-color: #006aed;
}

.btn-primary:hover {
    background: #006aed;
    border-color: #006aed;
}

.btn-outline {
    color: #006aed;
    background: #fff;
    border-color: #006aed;
}

.btn-outline:hover {
    color: #fff;
    background: #006aed;
}

@media (max-width: 1024px) {
    .authority-section {
        padding: 60px 0;
    }

    .authority-card {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .authority-section {
        padding: 48px 0;
    }

    .authority-section .section-head {
        margin-bottom: 28px;
    }

    .authority-section .section-title {
        font-size: 26px;
    }

    .authority-section .section-subtitle {
        font-size: 14px;
    }

    .authority-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .authority-content h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .authority-list {
        gap: 12px;
        margin-bottom: 24px;
    }

    .authority-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ==================== 学员风采 ==================== */
.showcase-section {
    padding: 20px 0 60px 0;
    background: #f6f7fa;
}

.showcase-section .section-head {
    text-align: center;
    margin-bottom: 40px;
}

.showcase-section .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 12px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}

.showcase-item {
    min-width: 0;
}

.showcase-item .showcase-card {
    background: #fff;
    padding: 26px;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, .06); */
    transition: transform .3s ease, box-shadow .3s ease;
}

.showcase-item:hover .showcase-card {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .1);
}

.showcase-card figure {
    margin: 0;
}

.showcase-card img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-card figcaption {
    padding: 14px 16px 0 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    text-align: center;
    background: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-prev,
.page-next,
.page-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    transition: all .2s ease;
}

.page-link:hover,
.page-prev:hover,
.page-next:hover {
    color: #3248ff;
    border-color: #3248ff;
}

.page-link.active {
    color: #fff;
    background: #3248ff;
    border-color: #3248ff;
}

.page-link.disabled,
.page-prev.disabled,
.page-next.disabled {
    color: #999;
    background: #f5f5f5;
    border-color: #e5e5e5;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .showcase-section {
        padding: 60px 0;
    }

    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 48px 0;
    }

    .showcase-section .section-head {
        margin-bottom: 28px;
    }

    .showcase-section .section-title {
        font-size: 26px;
    }

    .showcase-section .section-subtitle {
        font-size: 14px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .showcase-card figcaption {
        padding: 12px;
        font-size: 13px;
    }

    .page-prev,
    .page-next,
    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}
