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

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

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

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

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

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

.cmm-sportslottery-info-wrapper .red {
    color: #f00 !important;
}

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

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

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

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

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

.cmm-sportslottery-info-wrapper .page_title h2 {
    font-size: 28px !important;
    color: #C39F57 !important;
    display: inline-block;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.cmm-sportslottery-info-wrapper .page_title h2 > span {
    display: inline-block;
}

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

.cmm-sportslottery-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-sportslottery-info-wrapper .focus_btn.bwn {
    background: #C39F57;
}

.cmm-sportslottery-info-wrapper .focus_btn.bwn strong {
    color: #C39F57;
}

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

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

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

/* 數字清單 */
.cmm-sportslottery-info-wrapper .number_list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 30px;
}

.cmm-sportslottery-info-wrapper .number_list .box {
    width: 100%;
    max-width: 600px;
}

.cmm-sportslottery-info-wrapper .number_list .item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    margin-bottom: 15px;
}

.cmm-sportslottery-info-wrapper .number_list .item:last-child {
    margin-bottom: 0;
}

.cmm-sportslottery-info-wrapper .number_list .item i {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    line-height: 1.1em;
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    border-radius: 50%;
    background: #f00;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

.cmm-sportslottery-info-wrapper .number_list .item p {
    width: calc(100% - 35px);
    line-height: 1.5em;
    font-size: 18px !important;
}

.cmm-sportslottery-info-wrapper .number_list .item p strong {
    font-weight: bold;
}

/* 步驟圖片 */
.cmm-sportslottery-info-wrapper .step_pic {
    margin-bottom: 30px;
    text-align: center;
}

.cmm-sportslottery-info-wrapper .step_pic img {
    width: 100%;
    max-width: 800px;
    height: auto;
}



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

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

div.cmm-sportslottery-info-wrapper div.main_wrap.member_join.member_join_2 div.group.wrap div.number_list div.box div.item p {
    font-size: 18px !important;
    line-height: 1.5em !important;
}

div.cmm-sportslottery-info-wrapper div.main_wrap.member_join.member_join_2 div.group.wrap div.number_list div.box div.item p strong.red {
    color: #f00 !important;
    font-weight: bold !important;
}

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

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

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

@media screen and (max-width: 400px) {
    .cmm-sportslottery-info-wrapper .page_title h2 {
        flex-direction: column;
    }
}

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

    div.cmm-sportslottery-info-wrapper div.main_wrap.member_join.member_join_2 div.group.wrap div.number_list div.box div.item p {
        font-size: 16px !important;
    }
}