/* 內容頁（絕對優勢 / 功能介紹）共用樣式 */

.content-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #fff 0%, #fff6ed 100%);
    text-align: center;
}

.content-hero-en {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ff7f26;
    margin: 0 0 12px;
}

.content-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 28px;
}

.content-hero-title span {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    font-weight: 500;
    color: #666;
}

.content-hero-lead {
    max-width: 880px;
    margin: 0 auto 14px;
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.content-body {
    padding: 70px 0;
}

/* 絕對優勢：編號條目 */
.advantage-item {
    display: flex;
    gap: 28px;
    padding: 36px 0;
    border-bottom: 1px solid #eee;
}

.advantage-item:last-child {
    border-bottom: none;
}

.advantage-no {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #ff7f26;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-text {
    flex: 1;
}

.advantage-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 6px 0 14px;
}

.advantage-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin: 0 0 14px;
}

.advantage-points {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

.advantage-points li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    color: #333;
}

.advantage-points li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #ff7f26;
    font-weight: 700;
}

/* 絕對優勢：條目配圖 */
.advantage-media {
    flex: 0 0 320px;
    align-self: center;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background-color: #f4f4f4;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.advantage-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

@media (min-width: 992px) {
    /* 交錯排列：編號圓形永遠最左，偶數列的圖片移到文字前面 */
    .advantage-no {
        order: -2;
    }

    .advantage-item:nth-child(even) .advantage-media {
        order: -1;
    }
}

@media (max-width: 991px) {
    .advantage-media {
        flex: none;
        width: 100%;
        margin-top: 6px;
    }

    /* 窄螢幕統一「編號 → 文字 → 圖片」 */
    .advantage-item:nth-child(even) .advantage-media {
        order: 0;
    }
}

/* 功能介紹：分類卡片 */
.feature-group-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 56px 0 24px;
    padding-left: 16px;
    border-left: 5px solid #ff7f26;
}

/* 分類標題旁的小圖示（目前只有 SEO 區塊有） */
.feature-group-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 10px;
}

.feature-group-title:first-child {
    margin-top: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 28px;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: #fff;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    margin: 0;
}

/* 卡片圖片區：固定高度，讓各卡片的品牌圖對齊 */
.feature-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f2f2f2;
}

.feature-card-media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* 條款頁（隱私權條款 / 開店服務條款） */
.policy-doc {
    max-width: 900px;
    margin: 0 auto;
}

.policy-heading {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 14px;
    padding-left: 14px;
    border-left: 4px solid #ff7f26;
}

.policy-heading:first-child {
    margin-top: 0;
}

.policy-text {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin: 0 0 12px;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.95;
    color: #555;
}

.policy-list li::before {
    content: '・';
    position: absolute;
    left: 4px;
    color: #ff7f26;
    font-weight: 700;
}

.policy-list strong {
    color: #333;
}

@media (max-width: 768px) {
    .policy-heading {
        font-size: 18px;
        margin: 30px 0 12px;
    }

    .policy-text,
    .policy-list li {
        font-size: 15px;
        line-height: 1.9;
    }
}

/* 結尾行動區 */
.content-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, #fff6ed 0%, #fff 100%);
}

.content-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 28px;
}

.content-cta h2 span {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    color: #ff7f26;
}

.content-cta-list {
    list-style: none;
    padding: 0;
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: left;
}

.content-cta-list li {
    padding: 12px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    border-bottom: 1px dashed #e5e5e5;
}

.content-cta-list li:last-child {
    border-bottom: none;
}

.content-cta-list strong {
    display: inline-block;
    min-width: 62px;
    margin-right: 12px;
    padding: 2px 12px;
    border-radius: 20px;
    background-color: #ff7f26;
    color: #fff;
    font-size: 15px;
    text-align: center;
}

.content-cta-note {
    font-size: 16px;
    color: #555;
    margin: 0 0 30px;
}

@media (max-width: 768px) {
    .content-hero {
        padding: 50px 0 40px;
    }

    .content-hero-title {
        font-size: 28px;
    }

    .content-hero-title span {
        font-size: 17px;
    }

    .content-body {
        padding: 44px 0;
    }

    .advantage-item {
        flex-direction: column;
        gap: 16px;
        padding: 28px 0;
    }

    .advantage-no {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .advantage-text h2 {
        font-size: 21px;
    }

    .advantage-points,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-media {
        height: 88px;
    }
}
