﻿/* =========================================
   service-items.css
   1. 全域 / 頁面背景
   2. tab21~tab22 圖片型頁面
   3. tab23~tab24 文字清單型頁面
   4. 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,
#tab22,
#tab23,
#tab24 {
    background: transparent;
}

/* =========================================
   2. tab21~tab22 圖片型頁面
   ========================================= */

#tab21 .demo-wrapper.content-block.text-center,
#tab22 .demo-wrapper.content-block.text-center {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#tab21 .service-wrap,
#tab22 .service-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab21 .service-main-title,
#tab22 .service-main-title {
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: #d60000;
}

#tab21 .divider-double-border,
#tab22 .divider-double-border {
    margin-bottom: 28px;
}

#tab21 .service-section,
#tab22 .service-section {
    margin-bottom: 28px;
}

#tab21 .service-card,
#tab22 .service-card,
#tab21 .service-image-card,
#tab22 .service-image-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#tab21 .service-card-header,
#tab22 .service-card-header,
#tab21 .service-image-header,
#tab22 .service-image-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 .service-card-body,
#tab22 .service-card-body,
#tab21 .service-image-body,
#tab22 .service-image-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab21 .service-card-body p,
#tab22 .service-card-body p {
    margin: 0;
}

#tab21 .service-image-frame,
#tab22 .service-image-frame {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    padding: 16px;
}

#tab21 .service-image-frame img,
#tab22 .service-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =========================================
   3. tab23~tab24 文字清單型頁面
   ========================================= */

#tab23 .demo-wrapper.content-block.text-center,
#tab24 .demo-wrapper.content-block.text-center {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#tab23 .service-list-wrap,
#tab24 .service-list-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab23 .service-list-main-title,
#tab24 .service-list-main-title {
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: #d60000;
}

#tab23 .divider-double-border,
#tab24 .divider-double-border {
    margin-bottom: 28px;
}

#tab23 .service-list-section,
#tab24 .service-list-section {
    margin-bottom: 28px;
}

#tab23 .service-list-card,
#tab24 .service-list-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#tab23 .service-list-card-header,
#tab24 .service-list-card-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;
}

#tab23 .service-list-card-body,
#tab24 .service-list-card-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab23 .service-list,
#tab24 .service-list {
    margin: 0;
    padding-left: 1.4em;
}

#tab23 .service-list li,
#tab24 .service-list li {
    margin-bottom: 14px;
    line-height: 1.9;
}

#tab23 .service-list li:last-child,
#tab24 .service-list li:last-child {
    margin-bottom: 0;
}

#tab23 .service-list-note,
#tab24 .service-list-note {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #d60000;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
}

/* =========================================
   4. RWD
   ========================================= */

@media (max-width: 768px) {
    #tab21 .service-card-body,
    #tab22 .service-card-body,
    #tab21 .service-image-body,
    #tab22 .service-image-body,
    #tab23 .service-list-card-body,
    #tab24 .service-list-card-body {
        padding: 20px 18px;
    }

    #tab21 .service-main-title,
    #tab22 .service-main-title,
    #tab23 .service-list-main-title,
    #tab24 .service-list-main-title {
        font-size: 34px;
    }

    #tab21 .service-image-frame,
    #tab22 .service-image-frame {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #tab21 .service-image-frame img,
    #tab22 .service-image-frame img {
        width: 760px;
        max-width: none;
    }
}