.bg06{
    background-image: url(../images/bg06.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    
}

.footerbox{
    background-color: #3c5443;
    color: #b8a58b;
}
.footerlink a{
    padding: 0 8px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.footerlink a:hover{
    padding: 0 8px;
    transform: translateY(-8px);
}
.footerlink a img{
    max-width: 60px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}




/* --- Mockup Section 特定樣式 --- */

/* 抵銷 <main> 預設的 px-4 與 px-md-5，讓左右色塊能滿版貼齊邊緣 */
.mockup-section-wrapper {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}
@media (min-width: 768px) {
    .mockup-section-wrapper {
        margin-left: -3rem;
        margin-right: -3rem;
    }
}

/* 確保右側品牌列表在寬螢幕時不會過度拉伸，維持易讀性 */
.brand-list-container {
    max-width: 680px;
    margin: 0 auto;
}

/* 統一設定右側品牌圖片比例與尺寸 */
.brand-item-img {
    height: 160px;
    object-fit: cover;
    border-radius: 2px;
}
@media (min-width: 1200px) {
    .brand-item-img {
        height: 180px;
    }
}

/* 左側文字排版微調 */
.custom-vertical-wrapper {
    display: flex;
    justify-content: flex-end; /* 桌機版靠右對齊，留出中間呼吸空間 */
    padding-right: 15%;
}

.horizontal-text-block {
    padding-right: 10%;
    padding-left: 5%;
    margin-top: 4rem;
}

/* 手機版排版覆寫 */
@media (max-width: 991.98px) {
    .custom-vertical-wrapper {
        justify-content: center;
        padding-right: 0;
    }
    .horizontal-text-block {
        padding-right: 0;
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }
}


/* =========================================
   新增區塊：品牌聚落清單 (Brand Community)
   ========================================= */

/* 確保此區塊繼承現有的文字顏色(--text-color) */
.brand-community-section {
    color: var(--text-color);
}

/* 右上角直排文字 */
.brand-community-title-vert {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.6rem;
    font-size: 1.1rem;
    font-weight: 300;
}

/* 滿版的微透明分隔線 */
.brand-community-divider {
    border-top: 1px solid rgba(226, 223, 216, 0.4); /* 基於 --text-color 調整透明度 */
    width: 100%;
}

/* 品牌項目圖片 */
.brand-item-img {
    height: 220px;
    object-fit: cover;
    border-radius: 2px;
}

/* 品牌標題字距調整 */
.brand-item-title {
    letter-spacing: 0.35rem;
    font-weight: 400;
}

/* 品牌副標題字距調整 */
.brand-item-subtitle {
    letter-spacing: 0.25rem;
    font-weight: 300;
    font-size: 0.95rem;
}

/* 品牌內文字距與行高調整 */
.brand-item-desc {
    letter-spacing: 0.15rem;
    line-height: 2.4; /* 較大的行高營造呼吸感 */
    font-weight: 300;
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: justify;
}

/* --- 響應式調整 (RWD) --- */
@media (min-width: 992px) {
    /* 桌機版圖片稍微放大 */
    .brand-item-img {
        height: 300px;
    }
    .brand-item-img02 {
        height: 180px;
    }
    
    /* 桌機版文字區塊增加上方間距，使其與圖片視覺中心對齊 */
    .brand-item .text-container {
        padding-top: 1rem;
    }
    .container-fluid01{
        padding: 0 5rem!important;
    }
}

@media (max-width: 767.98px) {
    /* 手機版標題字距稍微縮小，避免折行過多 */
    .brand-item-title {
        letter-spacing: 0.15rem;
        font-size: 1.1rem;
    }
    .brand-item-subtitle {
        letter-spacing: 0.1rem;
    }
    .brand-item-desc {
        letter-spacing: 0.1rem;
    }
}