﻿/* =========================================
   other-worker.css
   1. 全域 / 頁面背景
   2. tab21 其他工種移工流程圖
   3. RWD
   ========================================= */

/* =========================================
   1. 全域 / 頁面背景
   ========================================= */

.page-helper-kai .visual-title,
.page-helper-kai .breadcrumb,
.page-helper-kai .nav-tabs .nav-link,
.page-helper-kai .demo-wrapper,
.page-helper-kai .demo-wrapper h3,
.page-helper-kai .demo-wrapper h4,
.page-helper-kai .demo-wrapper h5,
.page-helper-kai .demo-wrapper h6,
.page-helper-kai .demo-wrapper p,
.page-helper-kai .demo-wrapper li,
.page-helper-kai .table,
.page-helper-kai .table th,
.page-helper-kai .table td {
    font-family: "DFKai-SB", "BiauKai", "KaiTi", serif;
}

.page-helper-kai .content-wrapper {
    background: #f5f7fb;
    padding-top: 32px;
    padding-bottom: 56px;
}

.page-helper-kai .content-block {
    background: transparent;
}

.page-helper-kai .tab-content {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    padding: 24px 20px 32px;
}

#tab21 {
    background: transparent;
}

/* =========================================
   2. tab21 其他工種移工流程圖
   ========================================= */

#tab21 .demo-wrapper.content-block.text-center {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#tab21 .other-worker-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab21 .other-worker-main-title {
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: #d60000;
}

#tab21 .divider-double-border {
    margin-bottom: 28px;
}

#tab21 .other-worker-section {
    margin-bottom: 28px;
}

#tab21 .other-worker-card,
#tab21 .other-worker-cta-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#tab21 .other-worker-card-header,
#tab21 .other-worker-cta-header {
    background: linear-gradient(135deg, #4f46e5, #5b4df0);
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
}

#tab21 .other-worker-card-body,
#tab21 .other-worker-cta-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab21 .other-worker-card-body p {
    margin: 0;
}

/* 流程圖區 */

#tab21 .other-worker-flow-stack {
    display: grid;
    gap: 22px;
}

#tab21 .other-worker-flow-item {
    margin: 0;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

#tab21 .other-worker-flow-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #f8fafc;
}

/* CTA */

#tab21 .other-worker-cta-body {
    text-align: center;
}

#tab21 .other-worker-cta-logo {
    margin-bottom: 14px;
}

#tab21 .other-worker-cta-logo img {
    max-width: 140px;
    height: auto;
}

#tab21 .other-worker-cta-title {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

#tab21 .other-worker-cta-text {
    margin: 0 0 16px 0;
    font-size: 18px;
    line-height: 1.9;
    color: #374151;
}

#tab21 .other-worker-cta-link {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: #1e3a8a;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #d97706;
    transition: all 0.2s ease;
}

#tab21 .other-worker-cta-link:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    text-decoration: none;
}

/* =========================================
   3. RWD
   ========================================= */

@media (max-width: 768px) {
    #tab21 .other-worker-card-body,
    #tab21 .other-worker-cta-body {
        padding: 20px 18px;
    }

    #tab21 .other-worker-flow-item {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #tab21 .other-worker-flow-item img {
        width: 760px;
        max-width: none;
    }

    #tab21 .other-worker-cta-title {
        font-size: 22px;
    }
}