﻿.problem_title
{
    text-align: center;
    font-size: 30px;
    color: #65482e;
    letter-spacing: 3px;
    margin: 25px 0;
}

.problem_articles
{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.problem_articles a
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    padding: 20px 10px;
    background: linear-gradient(180deg, #ffffff, #fffcf6);
    border: 1px solid #e9ddcb;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.2s ease;
}

.problem_articles a:hover
{
    background: #fff6e8;
    border-color: #d9a35f;
    box-shadow: 0 3px 10px rgba(170, 130, 70, 0.12);
}

.problem_articles img
{
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
}

.problem_articles strong
{
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 0.2em;
    color: #65482e;
    text-align: center;
}

.problem_articles b
{
    font-size: 23px;
    letter-spacing: 0.2em;
}

.problem_articles p
{
    font-size: 18px;
    letter-spacing: 0.2em;
    color: #88683E;
}

.problem_articles span
{
    font-size: 20px;
    color: #a17b49;
    margin-top: 12px;
    letter-spacing: 0.2em;
}


.case_articles
{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.case_articles a
{
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
    background: linear-gradient(180deg, #ffffff, #fffcf6);
    border: 1px solid #e9ddcb;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: 0.2s ease;
}

.case_articles a:hover
{
    border-color: #d9a35f;
    box-shadow: 0 4px 12px rgba(170, 130, 70, 0.15);
    transform: translateY(-3px);
}

/* 上方情境圖片 */
.case_articles img
{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* 案例文字區塊 */
.case_content
{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 15px 10px;
}

/* 案例編號 */
.case_label
{
    background: #f5e5c9;
    color: #93692f;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 18px;
    text-align: center;
}

/* 案例標題 */
.case_articles h3
{
    font-size: 22px;
    color: #65482e;
    text-align: center;
    margin: 15px 0;
    line-height: 1.5;
}

/* 成果數字區塊 */
.case_result
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    background: linear-gradient(135deg, #fff8e9, #fce9cb);
    border-radius: 8px;
    padding: 12px 5px;
    text-align: center;
}

.case_result small
{
    font-size: 14px;
    color: #806e59;
    line-height: 1.6;
}

.case_result strong
{
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #c17c28;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.case_result em
{
    font-size: 18px;
    font-style: normal;
}

/* 案例成果說明 */
.case_articles ul
{
    list-style: none;
    padding: 0;
    margin: 15px 0;
    width: 100%;
}

.case_articles li
{
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 5px;
}

.case_articles li::before
{
    content: "✓";
    position: absolute;
    left: 0;
    color: #c49348;
    font-weight: bold;
}

/* 了解完整案例 */
.case_more
{
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-top: auto;
    padding: 10px 5px;
    border: 1px solid #e4c89c;
    border-radius: 20px;
    background: #fff3df;
    color: #93692f;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.case_articles a:hover .case_more
{
    background: #eacb98;
    color: #65482e;
}

/* 個案結果說明 */
.case_notice
{
    max-width: 1100px;
    margin: 15px auto;
    font-size: 13px;
    color: #888888;
    text-align: center;
    line-height: 1.6;
}


/***** 手機版顯示 *****/
@media screen and (max-width: 1100px)
{    
    .problem_articles
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));/* 每行排版 */
    }
    
    .problem_articles img
    {
        width: 300px;
        height: 300px;        
    }

    .problem_articles strong
    {
        font-size: 40px;        
    }

    .problem_articles b
    {
        font-size: 35px;        
    }

    .problem_articles p
    {
        font-size: 30px;        
    }

    .problem_articles span
    {
        font-size: 33px;        
    }

    
    
    /*** 成功案例顯示設定 ***/    
    .case_articles
    {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 每行排版 */
    }
    
    .case_label
    {
        font-size: 30px;
    }
    .case_articles h3
    {
        font-size: 40px;        
    }
    .case_result small
    {
        font-size: 30px;
    }

    .case_result strong
    {
        font-size: 50px;
    }

    .case_result em
    {
        font-size: 30px;
    }
    .case_articles li
    {
        font-size: 30px;
    }
    .case_articles span
    {
        font-size: 32px;
    }
    
}