/* ========== 註冊資訊頁面樣式 - 套用 member-join.html 設計 ========== */

/* CSS 樣式隔離 - 使用 wrapper class */
.cmm-register-info-wrapper {
    font-family: "Noto Sans TC", sans-serif;
    margin: 0;
    padding: 0;
    background: transparent;
}

.cmm-register-info-wrapper * {
    box-sizing: border-box;
}

/* 基本重置 */
.cmm-register-info-wrapper h1, 
.cmm-register-info-wrapper h2, 
.cmm-register-info-wrapper h3, 
.cmm-register-info-wrapper p {
    margin: 0 !important;
}

.cmm-register-info-wrapper a {
    color: #333;
    text-decoration: none;
    transition: 0.3s ease;
}

.cmm-register-info-wrapper a:hover {
    color: #FF6263;
}

/* 主要容器 */
.cmm-register-info-wrapper .main_wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.cmm-register-info-wrapper .wrap {
    clear: both;
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
}

.cmm-register-info-wrapper .group {
    padding: 40px 20px;
}

/* 頁面標題 */
.cmm-register-info-wrapper .page_title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 30px;
    text-align: center;
}

.cmm-register-info-wrapper .page_title h1 {
    font-size: 40px !important;
    font-weight: bold !important;
    color: #C39F57 !important;
    margin-bottom: 10px !important;
}

.cmm-register-info-wrapper .page_title h2 {
    font-size: 28px !important;
    color: #333 !important;
    margin-bottom: 15px !important;
}

.cmm-register-info-wrapper .page_title p.red {
    color: #f00 !important;
    font-size: 18px !important;
}

/* 項目容器 */
.cmm-register-info-wrapper .item_wrap {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cmm-register-info-wrapper .item_wrap a.item:hover {
    transform: scale(1.05);
}

/* 個別項目 */
.cmm-register-info-wrapper .item {
    width: 47%;
    max-width: 300px;
    padding: 30px 15px;
    margin: 0 1.5%;
    border-radius: 25px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    border: 1px solid #C39F57;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: block;
}

.cmm-register-info-wrapper .item.item_bwn {
    background: linear-gradient(to bottom, #bf9f62, #a2864e);
    color: #fff;
}

.cmm-register-info-wrapper .item.item_bwn .hand {
    width: 100px;
}

.cmm-register-info-wrapper .item.item_bwn .logo {
    width: 120px;
}

.cmm-register-info-wrapper .item.item_white .arrow {
    width: 30px;
}

.cmm-register-info-wrapper .item.item_white .logo {
    width: 60px;
}

.cmm-register-info-wrapper .item.item_white .logo_2 {
    width: 135px;
}

.cmm-register-info-wrapper .item.item_white .text h3 {
    color: #C39F57 !important;
}

/* 圖片區塊 */
.cmm-register-info-wrapper .item .pic {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    min-height: 130px;
}

.cmm-register-info-wrapper .item .pic img {
    margin: 0 5px;
}

/* 文字區塊 */
.cmm-register-info-wrapper .item .text h3, 
.cmm-register-info-wrapper .item .text p {
    line-height: 1.3em;
}

.cmm-register-info-wrapper .item .text h3 {
    margin-bottom: 10px !important;
    font-size: 24px !important;
    font-weight: bold !important;
}

.cmm-register-info-wrapper .item .text p {
    font-size: 16px !important;
}

/* 按鈕區塊 */
.cmm-register-info-wrapper .btn_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.cmm-register-info-wrapper .focus_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 30px);
    max-width: 600px;
    padding: 10px;
    border-radius: 20px;
    background: #919191;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cmm-register-info-wrapper .focus_btn.round {
    border-radius: 100px;
}

.cmm-register-info-wrapper .focus_btn.round strong {
    border-radius: 100px;
}

.cmm-register-info-wrapper .focus_btn:hover {
    background: #f00;
}

.cmm-register-info-wrapper .focus_btn span {
    width: 60%;
    padding: 0 15px 0 30px;
    font-size: 30px;
    color: #fff;
}

.cmm-register-info-wrapper .focus_btn strong {
    width: 40%;
    padding: 15px 30px;
    background: #fff;
    color: #919191;
    font-size: 24px;
    text-align: center;
    border-radius: 15px;
}

/* 響應式設計 */
@media screen and (max-width: 580px) {
    .cmm-register-info-wrapper .item_wrap {
        flex-direction: column;
    }
    
    .cmm-register-info-wrapper .item_wrap .item {
        width: 100%;
        max-width: none;
        margin: 0;
        margin-bottom: 20px;
    }
    
    .cmm-register-info-wrapper .item_wrap .item:last-child {
        margin-bottom: 0;
    }
    
    .cmm-register-info-wrapper .focus_btn {
        width: 100%;
    }
    
    .cmm-register-info-wrapper .focus_btn span {
        font-size: 22px;
        padding: 0 15px 0 15px;
    }
    
    .cmm-register-info-wrapper .focus_btn strong {
        padding: 15px;
    }
    
    /* 手機版標題樣式 - 使用更高優先級覆蓋 */
    div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.page_title h1 {
        font-size: 30px !important;
    }

    div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.page_title h2 {
        font-size: 22px !important;
    }

    .cmm-register-info-wrapper .item .pic {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0px;
        min-height: 100px;
    }
}

@media screen and (max-width: 450px) {
    .cmm-register-info-wrapper .focus_btn span {
        width: calc(100% - 130px);
    }
    
    .cmm-register-info-wrapper .focus_btn strong {
        width: 130px;
    }
}



/* 強化樣式優先級，避免WordPress主題覆蓋 */
div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.page_title h1 {
    color: #C39F57 !important;
    font-size: 40px !important;
    font-weight: bold !important;
    margin: 0 !important;
}

div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.page_title h2 {
    color: #C39F57 !important;
    font-size: 28px !important;
    margin: 0 !important;
}

div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.page_title p.red {
    color: #f00 !important;
    font-size: 18px !important;
}

div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.item_wrap a.item div.text h3 {
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    color: #fff !important;
}

div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.item_wrap a.item.item_white div.text h3 {
    color: #C39F57 !important;
}


@media screen and (max-width: 375px) {
    /* 手機版標題樣式 - 375px 斷點 */
    div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.page_title h1 {
        font-size: 32px !important;
    }
    
    div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.page_title h2 {
        font-size: 22px !important;
    }

    div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.page_title p.red {
        color: #f00 !important;
        font-size: 16px !important;
    }

    div.cmm-register-info-wrapper div.main_wrap.member_join div.group.wrap div.item_wrap a.item div.text h3 {
        font-size: 22px !important;
        font-weight: bold !important;
        margin-bottom: 10px !important;
        color: #fff !important;
    }

    .cmm-register-info-wrapper .item.item_bwn .logo {
        width: 80px;
    }

}