
.ab-banner-wrap.banner-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ab-banner-bg.banner-container {
    background-image: url('/static/images/banner-4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100vh - 500px);
    min-height: 280px;
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.ab-banner-bg .banner-content {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    max-width: 800px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    padding: 30px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    height: auto;
}

.ab-banner-bg .banner-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 5px;
}

.ab-banner-bg .breadcrumb-container ul {
    justify-content: flex-start;
}

.banner-container::after{
    display: none;
}


.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-container ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.breadcrumb-container ul li {
    list-style: none;
    position: relative;
    padding-right: 15px;
}

.breadcrumb-container ul li::after{
    content: '/';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-container ul li:last-child::after{
    display: none;
}

.breadcrumb-container ul li a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-container ul li a:hover{
    color: var(--primary-color);
}

.ab-banner-bg .banner-content p {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    text-align: left;
    margin-top: 15px;
}

.ab-section {
    padding: 40px 0;
    scroll-margin-top: 140px;
}

.ab-section-head {
    margin-bottom: 28px;
}

.ab-kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.ab-section-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.ab-section-head > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #516273;
}

.ab-section-head--center {
    text-align: left;
}

.ab-alt {
    background: var(--section-bg);
}

/* 核心定位：卡片式展示 */
.ab-position {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ab-position-showcase {
    margin: 0 auto;
}

.ab-pillar-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 0px;
}

.ab-pillar-card {
    position: relative;
    padding: 28px 26px 30px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(1, 36, 138, 0.08);
    box-shadow: 0 10px 36px rgba(13, 32, 54, 0.07);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ab-pillar-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
}

.ab-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(13, 32, 54, 0.11);
}

.ab-pillar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 10px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    background: rgba(1, 36, 138, 0.07);
    border-radius: 8px;
}

.ab-pillar-card h3 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.ab-pillar-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #4a5d70;
}

.ab-scope-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ab-scope-card {
    position: relative;
    padding: 22px 20px 24px;
    padding-top: 26px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    border: 1px solid rgba(13, 32, 54, 0.06);
    box-shadow: 0 6px 22px rgba(13, 32, 54, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ab-scope-card::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    /* background: var(--primary-color); */
    opacity: 0.85;
}

.ab-scope-card:nth-child(2)::before {
    opacity: 0.65;
    width: 28px;
}

.ab-scope-card:nth-child(3)::before {
    opacity: 0.45;
    width: 22px;
}

.ab-scope-card:hover {
    border-color: rgba(1, 36, 138, 0.14);
    box-shadow: 0 12px 32px rgba(13, 32, 54, 0.08);
}

.ab-scope-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: #1a2a3a;
}

.ab-scope-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.68;
    color: #556b7d;
}

/* 歷程 */
.ab-story-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 32px;
    align-items: start;
}

.ab-story-visual {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(13, 32, 54, 0.12);
}

.ab-story-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.ab-timeline {
    position: relative;
    padding-left: 8px;
}

.ab-timeline::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(1, 36, 138, 0.15) 100%);
    border-radius: 3px;
}

.ab-timeline-item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 22px;
}

.ab-timeline-item:last-child {
    margin-bottom: 0;
}

.ab-timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 2px rgba(1, 36, 138, 0.12);
}

.ab-year {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.ab-timeline-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.ab-timeline-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #4f5e6e;
}

.ab-timeline-future .ab-year {
    opacity: 0.85;
}

/* .ab-timeline-future .ab-timeline-body h3::after {
    content: '';
    font-size: 12px;
    font-weight: 500;
    color: #7a8a9a;
} */

/* 團隊數字 */
.ab-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.ab-team-stat,
.ab-team-note {
    padding: 28px 22px;
    border-bottom: 1px solid #e7edf3;
    border-right: 1px solid #e7edf3;
    background: #fff;
}

.ab-team-stat:nth-child(3n),
.ab-team-note:last-child {
    border-right: none;
}

.ab-team-grid > :nth-child(3n + 1):nth-last-child(-n + 3),
.ab-team-grid > :nth-child(3n + 1):nth-last-child(-n + 3) ~ * {
    border-bottom: none;
}

.ab-stat-value {
    display: block;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-color);
}

.ab-stat-label {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    color: #516273;
}

.ab-team-note {
    display: flex;
    align-items: center;
}

.ab-team-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #4f5e6e;
}

/* 登記資料（精簡卡片） */
.ab-registry {
    background: var(--section-bg);
}

.ab-section-head p {
    font-size: 14px;
    color: #6b7c8c;
    line-height: 1.65;
}

.ab-registry-wrapper{
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.ab-img{
    width: 35%;
    border-radius: 10px;
    overflow: hidden;
}

.ab-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-registry-card {
    flex: 1;
    /* max-width: 720px; */
    padding: 28px 28px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(13, 32, 54, 0.07);
    box-shadow: 0 4px 8px rgba(13, 32, 54, 0.07);
}

.ab-registry-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ab-registry-card ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 20px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.ab-registry-card ul li:first-child {
    padding-top: 0;
}

.ab-registry-card ul li:last-of-type {
    border-bottom: none;
    padding-bottom: 6px;
}

.ab-registry-label {
    flex: 0 0 auto;
    min-width: 7.5em;
    font-size: 13px;
    font-weight: 600;
    color: #7a8a9a;
    letter-spacing: 0.02em;
}

.ab-registry-value {
    flex: 1 1 220px;
    font-size: 15px;
    line-height: 1.55;
    color: #243747;
}

.ab-status-live {
    color: #0d7a4f;
    font-weight: 600;
}

.ab-registry-card p {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px dashed rgba(13, 32, 54, 0.12);
    font-size: 13px;
    line-height: 1.65;
    color: #6b7c8c;
}

.ab-registry-card p a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ab-registry-card p a:hover {
    color: #001f5c;
}

/* 聯絡條 */
.ab-contact-strip {
    padding-bottom: 56px;
}

.ab-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, #102c49 0%, #143456 52%, #1a3a5c 100%);
    border-radius: 12px;
    padding: 32px 36px;
}

.ab-contact-copy h2 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.ab-contact-copy p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(232, 242, 250, 0.92);
}

.ab-contact-copy a {
    color: #b8d4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ab-contact-copy a:hover {
    color: #fff;
}

.ab-contact-note {
    margin-top: 10px !important;
    font-size: 13px !important;
    color: rgba(232, 242, 250, 0.75) !important;
}

.ab-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ab-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* Zigzag */
.pd2-zigzag {
    padding: 40px 0 45px 0;
    background: #fff;
}

.pd2-zigzag-inner {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.pd2-zigzag-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 30px;
}

.pd2-zigzag-row:last-child{
    margin-bottom: 0;
}

.pd2-zigzag-row.is-reverse .pd2-zigzag-img {
    order: 2;
}

.pd2-zigzag-row.is-reverse .pd2-zigzag-text {
    order: 1;
}

.pd2-zigzag-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e7edf3;
}

.pd2-zigzag-img img {
    width: 100%;
    height: auto;
    display: block;
}

.pd2-zigzag-text h3 {
    font-size: 25px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 12px;
}

.pd2-zigzag-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #475569;
}

.pd2-zigzag-row.is-reverse {
    text-align: right;
}


@media (max-width: 991px) {
    .ab-banner-wrap.banner-section {
        padding-top: 0px;
        padding-bottom: 10px;
    }

    .ab-banner-bg.banner-container {
        height: 75vh;
        min-height: 340px;
        border-radius: 0;
    }

    .ab-banner-bg .banner-content {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        width: calc(100% - 28px);
        max-width: 36rem;
        padding: 20px 18px;
        box-sizing: border-box;
    }

    .ab-banner-bg .banner-content h2 {
        font-size: clamp(24px, 5vw, 34px);
    }

    .ab-banner-bg .banner-content p {
        font-size: 14px;
        line-height: 1.65;
        margin-top: 10px;
    }

    .ab-banner-bg .breadcrumb-container ul {
        flex-wrap: wrap;
        justify-content: flex-start;
        row-gap: 4px;
    }

    .ab-timeline{
        padding-left: 0;
    }

    .ab-timeline-item::before{
        width: 12px;
        height: 12px;
        left: 0;
    }

    .ab-timeline::before{
        left: 8px;
    }

    .ab-timeline-item{
        padding-left: 30px;
    }

    .ab-team-grid > :last-child{
        display: none;
    }

    .pd2-zigzag-row,
    .pd2-zigzag-row.is-reverse {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pd2-zigzag-row.is-reverse .pd2-zigzag-img,
    .pd2-zigzag-row.is-reverse .pd2-zigzag-text {
        order: unset;
    }
}

@media (max-width: 767px) {
    .ab-section {
        padding: 20px 0;
        scroll-margin-top: 100px;
    }

    .ab-banner-bg.banner-container {
        height: min(64vh, 400px);
        min-height: 260px;
        max-height: 440px;
    }

    .ab-pillar-card {
        padding: 22px 18px 24px;
    }

    .ab-pillar-card h3 {
        font-size: 22px;
    }

    .ab-scope-card {
        padding: 18px 16px 20px;
        padding-top: 22px;
    }

    .ab-section-head h2 {
        font-size: clamp(24px, 5vw, 28px);
    }

    .ab-contact-inner {
        padding: 24px 18px;
    }
}

@media (max-width: 992px) {
    .ab-pillar-row {
        grid-template-columns: 1fr;
    }

    .ab-scope-row {
        grid-template-columns: 1fr;
    }

    .ab-story-columns {
        grid-template-columns: 1fr;
    }

    .ab-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ab-section-head{
        margin-bottom: 20px;
    }

    .ab-team-stat,
    .ab-team-note {
        border-right: none;
        text-align: center;
        padding: 0 10px;
    }

    .ab-team-stat:not(:last-child),
    .ab-team-note:not(:last-child) {
        border-bottom: 1px solid #e7edf3;
    }

    .ab-team-stat:first-child{
        border-right: 1px solid #e7edf3;
    }

    .ab-team-grid > :last-child {
        border-bottom: none;
    }

    .ab-registry-card ul li {
        flex-direction: column;
        gap: 4px;
    }

    .ab-registry-label {
        min-width: 0;
    }

    .ab-contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ab-img{
        display: none;
    }

    .ab-registry-card{
        padding: 20px;
    }

    .ab-registry-value{
        flex: none;
    }
}

@media (max-width: 640px) {
    .ab-banner-bg.banner-container {
        height: auto;
        min-height: 220px;
    }

    .ab-banner-bg .banner-content h2 {
        font-size: 28px;
    }

    .ab-section-head h2 {
        font-size: 26px;
    }
}
