﻿/* -------------------------------------------------
   03_4_info_edit Page Styles
   ------------------------------------------------- */

/* 最外層容器 */
.content-area {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Microsoft JhengHei", sans-serif;
    color: #333;
    line-height: 1.6;
    font-weight: bold;
}

/* 三欄式排版：左圖 / 中文 / 右卡通 */
.info-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    font-weight: bold;
}

/* 左側大圖 */
.image-container {
    /* 基準寬度放大到 50%，並允許縮小 */
    flex: 0 1 200%;
    position: relative;
    margin-top: 6em;
    font-weight: bold;
}

    .image-container img {
        width: 100%;
        height: auto;
        display: block;
    }


/* 中間標題：移除多餘左邊空白 */
.title-line {
    font-size: 1.7em;
    margin: 0.5em 0 0.2em 0;
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* 中間文字 */
.text-container {
    flex: 0 0 45%;
    /* 整區文字整體放大：可視需求調整此基底字級 */
    font-size: 1.125em;
    position: relative;
    z-index: 3; /* Layer 3：所有文字都在最上層 */
}

    .text-container h2 {
        font-size: 2em;
        margin: 0.5em 0;
    }

    .text-container .highlight-green {
        color: #2d8a1f;
        font-weight: bold;
    }

    .text-container .highlight-purple {
        color: #7a30b6;
        font-weight: bold;
    }

    .text-container .highlight-blue {
        background: rgba(0, 122, 204, 0.15);
        color: #007acc;
        padding: 0 4px;
        border-radius: 2px;
    }

    .text-container p {
        margin: 0.6em 0;
        font-size: 1.125em;
    }

/* 藍色強調字 */
.highlight-link {
    color: #0057d8;
    font-weight: bold;
    font-size: 1.3em;
}

/* 中間的清單 */
.checklist {
    list-style: none;
    margin: 1em 0;
    padding: 0;
    font-size: 20px;
}

    .checklist li {
        position: relative;
        padding-left: 1.6em;
        margin-bottom: 0.6em;
    }

        .checklist li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 0;
            color: #2d8a1f;
        }

/* 按鈕 */
.btn-start {
    display: inline-block;
    margin-top: 0.02em;
    padding: 0.6em 1.4em;
    background-color: #2d8a1f;
    color: #fff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-size: 1.5em;
    text-decoration: none;
    transition: background-color .2s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.35);
}

    .btn-start:hover {
        background-color: #24761a;
    }

/* 底部註記 */
.text-container .note {
    font-size: 0.85em;
    color: #666;
    border-top: 1px solid #ddd;
    padding-top: 0.5em;
    margin-top: 1.5em;
}

/* 右側卡通圖 */
.side-image-container {
    flex: 0 1 100%;
    text-align: center; /* 若想置中或靠右自訂 */
    margin-top: 10em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em; /* 加大圖片與按鈕的間距 */
}

    .side-image-container img {
        max-width: 100%;
        height: auto;
        display: block;
    }

/* --------------------------------------------
   響應式：窄螢幕時改為直列 (手機、平板)
   -------------------------------------------- */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        align-items: center;
    }

    .image-container,
    .text-container,
    .side-image-container {
        flex: 0 0 100%;
    }

        .text-container h2 {
            text-align: center;
        }

    .btn-start {
        width: 100%;
        text-align: center;
    }
}


