﻿/* =========================================
   institutional-caretaker.css
   1. 全域 / 頁面背景
   2. tab21 養護機構看護工申請資格
   3. 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,
#tab24 {
    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 .institution-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab21 .institution-main-title {
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: #d60000;
}

#tab21 .divider-double-border {
    margin-bottom: 28px;
}

#tab21 .institution-section {
    margin-bottom: 28px;
}

#tab21 .institution-card,
#tab21 .institution-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 .institution-card-header,
#tab21 .institution-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 .institution-card-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab21 .institution-card-body p {
    margin: 0 0 14px 0;
}

#tab21 .institution-card-body p:last-child {
    margin-bottom: 0;
}

#tab21 .institution-subtitle {
    margin: 0 0 14px 0;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #1d4ed8;
}

#tab21 .institution-list {
    margin: 0;
    padding-left: 1.4em;
}

#tab21 .institution-list li {
    margin-bottom: 14px;
    line-height: 1.9;
}

#tab21 .institution-list li:last-child {
    margin-bottom: 0;
}

#tab21 .institution-highlight-box {
    margin-top: 16px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

#tab21 .institution-highlight-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.9;
    color: #374151;
}

#tab21 .institution-highlight-box strong {
    color: #1f2937;
}

#tab21 .institution-image-body {
    padding: 24px 28px;
}

#tab21 .institution-image-frame {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    padding: 16px;
}

#tab21 .institution-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =========================================
   3. tab24 養護機構看護工聘僱費用
   ========================================= */

#tab24 .demo-wrapper.content-block.pb-0 {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#tab24 .demo-wrapper.content-block.pb-0 > h3 {
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
}

#tab24 .institution-fee-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab24 .institution-fee-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

#tab24 .institution-fee-summary-card,
#tab24 .institution-fee-table-panel {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#tab24 .institution-fee-summary-card-header,
#tab24 .institution-fee-table-panel-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;
}

#tab24 .institution-fee-summary-card-body,
#tab24 .institution-fee-table-panel-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab24 .institution-fee-summary-list {
    margin: 0;
    padding-left: 1.4em;
}

#tab24 .institution-fee-summary-list li {
    margin-bottom: 12px;
    line-height: 1.9;
}

#tab24 .institution-fee-summary-list li:last-child {
    margin-bottom: 0;
}

#tab24 .institution-fee-section-title {
    margin: 30px 0 16px;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #374151;
}

#tab24 .institution-fee-alert {
    margin: 20px auto 24px;
    padding: 18px 20px;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #d60000;
    border-radius: 12px;
    line-height: 1.8;
    text-align: center;
    font-size: 16px;
}

#tab24 .institution-fee-alert p {
    margin: 0 0 10px 0;
}

#tab24 .institution-fee-alert p:last-child {
    margin-bottom: 0;
}

#tab24 .institution-fee-table-panel-body .data-table {
    margin: 0;
}

#tab24 .institution-fee-table-panel-body .table {
    width: 100%;
    margin-bottom: 0;
    background: #ffffff;
    font-size: 16px;
    line-height: 1.75;
    border-collapse: collapse;
}

#tab24 .institution-fee-table-panel-body .table thead th,
#tab24 .institution-fee-table-panel-body .table .bg-secondary {
    background: #ff6436 !important;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    padding: 14px 12px;
    border-color: #ff6436 !important;
}

#tab24 .institution-fee-table-panel-body .table th,
#tab24 .institution-fee-table-panel-body .table td {
    padding: 14px 12px;
    vertical-align: middle;
    border-color: #e5e7eb;
}

#tab24 .institution-fee-table-panel-body .table tbody td,
#tab24 .institution-fee-table-panel-body .table tbody th {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
}

#tab24 .institution-fee-table-panel-body .table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* =========================================
   4. RWD
   ========================================= */

@media (max-width: 992px) {
    #tab24 .institution-fee-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #tab21 .institution-card-body,
    #tab21 .institution-image-body {
        padding: 20px 18px;
    }

    #tab21 .institution-image-frame {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #tab21 .institution-image-frame img {
        width: 720px;
        max-width: none;
    }
}