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

.ip-banner-bg.banner-container {
    background-image: url('/static/images/banner-3.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;
}
.banner-container::after{
    display: none;
}

.ip-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;
}

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

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

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


.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);
}

/* ========== 引言 ========== */
.ip-intro-section {
    padding: 40px 0;
}

.ip-intro-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}

.ip-intro-points p {
    font-size: 17px;
    font-weight: 600;
    color: #1a2f42;
    margin-bottom: 18px;
    line-height: 1.55;
}

.ip-intro-points ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ip-intro-points ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.65;
    color: #3d5266;
}

.ip-intro-points ul li:last-child{
    margin-bottom: 0;
}

.ip-intro-points ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #0a6b3c;
    font-weight: 700;
    font-size: 15px;
}

.ip-intro-quote {
    margin: 0;
    background: #fff;
    border-radius: 12px;
    padding: 28px 26px 24px;
    box-shadow: 0 4px 24px rgba(13, 32, 54, 0.08);
    border: 1px solid rgba(13, 32, 54, 0.06);
}

.ip-quote-mark {
    font-size: 72px;
    line-height: 0.55;
    color: rgba(1, 36, 138, 0.14);
    font-family: Georgia, 'Times New Roman', serif;
    display: block;
    margin-bottom: 6px;
}

.ip-intro-quote blockquote {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #334655;
}

.ip-intro-quote figcaption {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7c8c;
}

/* 場景速覽與上方區塊間距 */
.ip-spotlight.industry-section {
    padding: 40px 0;
}

.ip-spotlight .industry-heading {
    flex-wrap: wrap;
}

/* ========== 分區標題與卡片網格 ========== */
.ip-segment-section {
    padding: 40px 0;
    scroll-margin-top: 140px;
}

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

.ip-segment-head {
    max-width: 720px;
    margin-bottom: 28px;
}

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

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

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

.ip-app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.ip-app-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #e7edf3;
    /* border-right: 1px solid #e7edf3; */
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
    box-shadow: 0 0 2px rgba(18, 51, 88, .12);
}

.ip-segment-alt .ip-app-card {
    background: #fff;
}

.ip-app-card:nth-child(3n),
.ip-app-card:last-child {
    border-right: none;
}

.ip-app-card:nth-child(3n + 1):nth-last-child(-n + 3),
.ip-app-card:nth-child(3n + 1):nth-last-child(-n + 3) ~ .ip-app-card {
    border-bottom: none;
}

.ip-app-card:hover {
    box-shadow: inset 0 0 0 1px rgba(1, 36, 138, 0.08);
    position: relative;
    z-index: 1;
}

.ip-app-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ip-app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ip-app-card:hover .ip-app-image img {
    transform: scale(1.04);
}

.ip-app-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ip-app-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.3;
}

.ip-app-body p {
    font-size: 14px;
    line-height: 1.65;
    color: #4f5e6e;
    margin: 0 0 16px;
    flex: 1;
}

.ip-app-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 3px;
}

.ip-app-link svg{
    width: 15px;
    height: 15px;
}

/* ========== 底部 ========== */
.ip-cta-section {
   padding-top: 40px;
   padding-bottom: 80px;
}

.ip-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 12px;
    padding: 32px 36px;
    border: 2px solid var(--primary-color);
}

.ip-cta-copy h2 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
}

.ip-cta-copy p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.ip-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    transition: background-color .28s ease, transform .28s ease;
    z-index: 0;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.ip-cta-btn span {
    position: relative;
    z-index: 1;
    color: inherit;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 15px;
}

.ip-cta-btn::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: scaleX(0);
    transition: all .3s ease;
    z-index: -1;
}
.ip-cta-btn:hover::before{
    transform: scaleX(1);
}

.ip-cta-btn:hover {
    /* background-color: #244b74;
    transform: translateY(-2px); */
    color: var(--primary-color);
}


/* 平板／手機：本檔在 index-M 之後載入，需覆蓋 banner 的 calc 高度並優化頂部區塊 */
@media (max-width: 991px) {
    .ip-banner-wrap.banner-section {
        padding-bottom: 10px;
    }

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

    .ip-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;
    }

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

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

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

    .ip-intro-points ul li{
        padding-left: 20px;
    }
}

@media (max-width: 767px) {
    .ip-intro-section,
    .ip-spotlight.industry-section,
    .ip-segment-section {
        padding: 20px 0;
    }

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

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

    .ip-app-body {
        padding: 16px 16px 20px;
    }

    .ip-app-body h3 {
        font-size: 18px;
    }

    .ip-cta-inner {
        padding: 22px 18px;
    }

    .ip-cta-copy h2 {
        font-size: 22px;
    }

    .ip-cta-section {
        padding-bottom: 48px;
    }
}

@media (max-width: 992px) {
    .ip-intro-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ip-intro-quote{
        padding: 30px 20px;
    }

    .ip-app-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ip-app-card {
        border-radius: 8px;
        overflow: hidden;
        border-right: none;
    }

    .ip-app-card:not(:last-child) {
        border-bottom: 1px solid #e7edf3;
    }

    .ip-app-card:last-child {
        border-bottom: none;
    }

    .ip-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

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

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

    .ip-segment-head h2 {
        font-size: 26px;
    }
}
