body{
    color: #2d2d2d;
}

/* -----------⬇⬇⬇ banner 開始 ⬇⬇⬇--------------- */
/* ----------------------------------------------- */
.obank-bunner{
    width: 100%;
    background: #ccc;
    overflow: hidden;
    
}
.obank-bunner img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.obank-bunner-mobile{
    display: none;
}
.obank-bunner-mobile img{
    width: 100%;
}

@media screen and (max-width:700px){
    .obank-bunner{
        display: none;
    }
    .obank-bunner-mobile{
        display: block;
    }
    
}

/* -------------⬆⬆⬆ banner結束 ⬆⬆⬆-------------- */
/* ----------------------------------------------- */


/* 標題樣式 */
.scam-title {
    color: #ff8200; 
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    display: inline-block; 
    position: relative;
    padding-bottom: 15px;

}

/* 標題下方的粗線條 */
.scam-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100px;  
    height: 6px;         
    left: 50%;            
    transform: translateX(-50%); 
    
    background-color: #ff8200;

}

@media screen and (max-width:768px){
    .scam-title{
        font-size: 2rem;
    }

}
@media screen and (max-width:550px){
    .scam-title{
        font-size: 1.8rem;
    }

}


/* -------------⬇⬇⬇ 網址辨識第一區塊 開始 ⬇⬇⬇-------------- */
.url-scam-title{
    text-align: center;
    width: 100%;
    margin-top: 100px;
}

.url-block{
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    margin-bottom: 50px;

}

.url-main-container {
    max-width: 1200px;
    padding: 50px 100px;
    /* padding: 50px; */
    background: #fffaf6;
    margin: 0 50px;
    border-radius: 15px;
}

/* 標題樣式 */
.url-block .main-title {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: bold;
}




/* 搜尋欄位佈局 */

.url-block .search-section {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    align-items: flex-start; 
}

/* input 與小字群組 */
.url-block .input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px; 
}

.url-block .search-input {
    width: 100%; 
    padding: 12px 15px;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


/* 新增：提示小字樣式 */
.url-block .input-hint {
    font-size: 0.85rem;
    /* color: #317f5f; */
    margin: 0;
    padding-left: 5px;
}


/* 正確樣式 */
.url-block .search-input-ok{
    border: 1px solid #317f5f;
}
.url-block .input-hint-ok{
    color: #317f5f;
}

/* 錯誤樣式 */
.url-block .search-input-no{
    border: 1px solid #ff0000;
}
.url-block .input-hint-no{
    color: #ff0000;
}





.url-block .search-button {
    background-color: #ff8200;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    height: 46px; 
}

.url-block .search-input::placeholder {
    color: #b1b1b1;
}




@media screen and (max-width:768px){
    .url-block .search-section {
        flex-direction: column;
        align-items: stretch;
    }

    .url-block .input-group {
        width: 100%;
    }

    .url-block .search-button {
        width: 100%;
        margin-top: 5px; 
    }
}


.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){
    border-radius: 8px;
}




/* ------- */



/* 警語區塊 */
.url-block .notice-section {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    /* gap: 8px;  */
}

.url-block .notice-item {
    display: flex;
    align-items: flex-start; 
    /* color: #666; */
    line-height: 1.8;
}
/* 數字標籤的寬度固定 */
.url-block .notice-num {
    width: 20px; 
    flex-shrink: 0; 
}

/* 文字內容 */
.url-block .notice-content {
    flex: 1;
}

.url-block .notice-content a{
    color: #2d2d2d;
    font-weight: 800;
}
.url-block .notice-content a:hover{
    color: #ff8200;
}

/* 下方白色卡片資訊區 */
.url-block .url-info-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    gap: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    align-items: center;
}

/* 圖片容器 */
.url-block .illustration-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.url-block .responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 連結文字區域 */
.url-block .link-content {
    flex: 1.2;
}

.url-block .link-intro {
    /* font-size: 16px; */
    margin-bottom: 20px;
    line-height: 1.6;
}

.url-block .link-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 銀行分類標籤 */
.url-block .bank-label {
    color: #ff8200;
    /* font-size: 16px; */
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    border-left: 3px solid #ff8200;
    padding-left: 10px;
    font-weight: bold;
}

/* 網址連結樣式 */
.url-block .link-item a {
    color: #2d2d2d;
    /* text-decoration: none; */
    font-size: 16px;
    word-break: break-all;

    transition: .2s;

    font-weight: 800;

}

.url-block .link-item a:hover {
    /* text-decoration: underline; */
    color: #ff8200;
}

@media screen and (max-width:1000px){
    .url-main-container{
        padding: 50px 50px;
        margin: 0 20px;
    }

}

@media screen and (max-width:768px){

    .url-block .search-section {
        flex-direction: column;
    }
    
    .url-block .search-button {
        width: 100%;
        margin-top: 10px;
    }

    .url-block .url-info-card {
        flex-direction: column;
        padding: 25px;
        gap: 30px;
    }


}

@media screen and (max-width:500px){
    .url-main-container{
        padding: 50px 20px;
    }
    .scam-title{
        margin-top: 40px;
    }
    .url-block{
        margin-bottom: 0;
    }

}



/* -------------⬆⬆⬆ 網址辨識第一區塊 結束 ⬆⬆⬆--------------- */
/* --------------------------------------------------------- */






/* -------------⬇⬇⬇ 帳號辨識第二區塊 開始 ⬇⬇⬇------------ */

.obank-official-wrapper{
    /* background-color: #f8f9fa; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    margin: 50px auto;

}

.obank-official-wrapper .official-accounts-container {
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
}

/* .main-title {
    color: #ff8200;
    margin-bottom: 10px;
} */

.obank-official-wrapper .sub-title {
    margin-bottom: 40px;
}

.obank-official-wrapper .cards-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 卡片容器 */
.obank-official-wrapper .account-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px 20px;
    width: 350px;
    text-decoration: none;
    color: #2d2d2d;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.obank-official-wrapper .account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #ff8200;
}

/* 中間的主要內容區 */
.obank-official-wrapper .card-content {
    flex: 1;
    display: flex;
    flex-direction: column; 
    text-align: left;
    padding: 0;
}

/* 第一排：圖示、文字、勾勾 */
.obank-official-wrapper .card-title-area {
    display: flex;
    align-items: center; 
    margin-bottom: 5px;
}

.obank-official-wrapper .main-icon {
    width: 28px; 
    height: 28px;
    margin-right: 10px;
}

.obank-official-wrapper .account-name {
    font-size: 1.1rem;
    font-weight: bold;
}

.obank-official-wrapper .main-icon-1{
    width: 20px;
    height: 20px;
    margin-left: 5px;

}



/* 第二排：網址 */
.obank-official-wrapper .account-handle {
    font-size: 0.9rem;
    color: #888;
   
}

/* 右側箭頭 */
.obank-official-wrapper .arrow-icon {
    margin-left: 10px;
}

@media screen and (max-width:799px){
    .obank-official-wrapper .account-card{
        max-width: 600px;
        width: 100%;
    }

}


@media screen and (max-width:500px){
    .obank-official-wrapper{
        margin-top: 0;
    }

}


/* -------------⬆⬆⬆ 帳號辨識第二區塊 結束 ⬆⬆⬆--------------- */
/* --------------------------------------------------------- */







/* -------------⬇⬇⬇ 宣導事項 第三區塊 開始 ⬇⬇⬇------------ */

.scam-block{
    text-align: center;
    margin-bottom: 50px;
}

.scam-block a{
    color: #2d2d2d;
}
.scam-block a:hover{
    color: #ff8200;
    transition: .3s;
}

.fraud-section-bg .scam-block span{
    color: #ff8200;
    font-size: 22px;
}


/* ----卡片輪播--- */

.fraud-section {
  padding: 80px 20px;
  /* max-width: 1300px; */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.fraud-section-bg{
    background: #fffaf6;
}


.fraud-section h2{
    display: flex;
    justify-content: center;
}



.fraud-container {
  margin: auto;
  display: flex;
  align-items: center;
  /* gap: 10px; */
  gap: 20px;
}

.fraud-viewport {
  overflow: hidden;
  flex: 1;
}

/* 輪播軌道 */
.fraud-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  align-items: stretch; 
}

/* 卡片容器 */
.fraud-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 三欄式 */
  display: flex; 
  border: 1px solid #d8d8d8;
  border-radius: 20px;
  background: #ffffff;
}

/* 卡片主體 */
.card-inner {
  border-radius: 16px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column; 


}

/* 圖片 */
.card-img {
  width: 100%;
  height: auto;
  /* height: 175px; */
  object-fit: cover;
  border-radius: 17px 17px 0px 0px;
}



/* 讓內容區塊會自動一樣高，把按鈕頂到最下面 */
.card-content {
    padding: 30px;
    flex-grow: 1;      
    display: flex;    
    flex-direction: column;
}

.fraud-section-bg .card-btn {
    display: block;
    margin: 0 20px 20px 20px; 
    padding: 12px;
    color: #ff8200;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    border: 1px solid #ff8200;
    transition: 0.3s;
    flex-shrink: 0; 
    margin-top: auto; 
}


.card-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff8200;

    /* --- 標題統一高度 --- */
    /* display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;     */
    overflow: hidden;        
    
    line-height: 1.4;        
    min-height: 3rem;    
}


.card-text {
  /* font-size: 0.95rem; */
  /* color: #666; */
  line-height: 1.6;

  
  
  
}
.card-text-1{
    /* --- 限制三行並顯示省略號 --- */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;

}

.fraud-section-bg .card-text a{
    /* color: #ff8200; */
    color: #2d2d2d;
    transition: .3s;
    font-weight: 800;
    
}

.fraud-section-bg .card-text a:hover{
    color: #ff8200;

}

/* 按鈕置底 */
.card-btn {
  display: block;
  margin: 0 20px 20px 20px; 
  padding: 12px;
  /* background: #f08200; */
  color: #ff8200;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
  border: 1px solid #ff8200;
}

.card-btn:hover {
  background: #ff8200;
  color: #fff;
}

/* 指示點與箭頭 (維持原樣) */
.arrow { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    border: none; 
    background: #ff8200; 
    color: #fff; 
    cursor: pointer; 
    flex-shrink: 0; 
}
.arrow:disabled { 
    background: #ccc; 
}
.dots { 
    margin-top: 30px; 
    text-align: center; 
}
.dots span { 
    display: inline-block; 
    width: 12px; 
    height: 12px; 
    margin: 0 5px; 
    background: #ddd; 
    border-radius: 50%; 
    cursor: pointer; 
}
.dots span.active { background: #ff8200; }

/* 手機 RWD */
@media (max-width: 992px) {
  .fraud-card {
    flex: 0 0 100%;
  }
}


/* @media screen and (max-width:850px){
    .card-img{
        height: 100%;
    }

}

@media screen and (max-width:600px){
    .card-img{
        height: auto;
    }

} */

@media screen and (max-width:500px){
    .fraud-section{
        padding-top: 0;
    }

}


@media screen and (max-width:450px){
    .fraud-container{
        gap: 10px;
    }

}



/* 更新修改手機板改左右按鈕定位 */

@media screen and (max-width: 550px) {

    .fraud-section {
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 0;
    }


    .fraud-container {
        position: relative;
        display: block;
        gap: 0;
        overflow: visible;
    }

    .fraud-viewport {
        overflow: hidden;
        width: 100%;
        margin: 0;
    }

    .fraud-card {
        flex: 0 0 100%; 
    }

    /* 按鈕定位 */
    .fraud-container .arrow {
        position: absolute;
        z-index: 100;
        top: 60%;
        transform: translateY(-60%);

        width: 40px;
        height: 40px;
        background: #ff8200;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    
    #prevBtn, #prevBtn2 {
        left: -20px;
    }

    
    #nextBtn, #nextBtn2 {
        right: -20px;
    }

    
    .arrow:disabled {
        background: #cccccc !important;
        color: #ffffff !important;
        border-color: #ddd !important;
        cursor: not-allowed !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }
}

/* 手機板按鈕定位結束 */





/* ------卡片輪播結束------- */





/* ----- 彈跳視窗：叉叉在外 + 內部捲動 ----- */
.custom-modal-content {
    background-color: transparent !important; 
    border: none !important;
    overflow: visible !important;
    position: relative;
}

/* 視窗主體 */
.modal-body {
    background-color: #fff;
    border-radius: 25px; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    width: 100%;
    max-width: 650px;
}

/* 內容捲動區 */
.modal-scroll-area {
    overflow-y: auto;
    max-height: 400px; 
    flex-grow: 1;
}

/* 外部關閉按鈕 */
.custom-close-outside {
    position: absolute;
    top: -50px; 
    right: 0px;    
    background: none;
    border: none;
    color: #ff8200;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
    z-index: 50;
}

.modal-header-img { 
  background-color: #fbe9e0; 
  text-align: center; 
  /* padding: 25px 0;  */
  flex-shrink: 0; 

}
.modal-header-img img { 
  /* max-width: 180px;  */
  width: 100%;
}
.modal-text-padding { 
  padding: 30px; 
}
.modal-custom-title { 
  color: #ff8200; 
  font-weight: bold; 
  text-align: center; 
  margin-bottom: 20px; 
  font-size: 1.15rem; 
}
.modal-custom-text { 
  /* font-size: 0.95rem;  */
  /* color: #444;  */
  line-height: 1.7; 
}
.modal-warning-text { 
  color: #ff8200; 
  border-top: 1px dashed #ddd; 
  margin-top: 20px; 
  padding-top: 15px; 
  /* font-weight: bold;  */
}

.modal-warning-text a{
    color: #ff8200;
}

.modal-warning-text a:hover{
    color: #e47703;
}


/* 自訂捲軸樣式 */
.modal-scroll-area::-webkit-scrollbar { 
  width: 6px; 
}
.modal-scroll-area::-webkit-scrollbar-thumb { 
  background: #ff8200; 
  border-radius: 10px; 
}

.modal-dialog{
    max-width: 650px;
    width: 90%;
    margin: 0px auto;
    padding-top: 50px;

}

@media (max-width: 992px) {
    .fraud-card { 
      flex: 0 0 100%; 
    }
    .custom-close-outside { 
      top: -65px; 
      right: 10px; 
      font-size: 60px; 
    }
}

@media (max-width: 500px) {
    .custom-close-outside{
        font-size: 45px;
        top: -55px;
        right: 5px;
    }
}


/* 背景遮罩的黑度 */
.modal-backdrop.show {
    opacity: 0.8; 
    background-color: #000; 
}



/* --------彈跳視窗結束--------- */



/* --------------⬆⬆⬆ 宣導事項 第三區塊 結束 ⬆⬆⬆------------- */
/* --------------------------------------------------------- */









/* -------------⬇⬇⬇ 案件宣導 第四區塊 開始 ⬇⬇⬇------------ */


.card-text-1 a{
    color: #2d2d2d;
    font-weight: 800;
    transition: .3s;
}

.card-text-1 a:hover{
    color: #ff8200;
}







/* --------------⬆⬆⬆ 案件宣導 第四區塊 結束 ⬆⬆⬆------------- */
/* --------------------------------------------------------- */











/* -------------⬇⬇⬇ 防詐三口訣 第五區塊 開始 ⬇⬇⬇------------ */

.three-steps{
    background-color: #fdf7f2;
    padding: 80px 0;

}

.three-steps .scam-title{
    text-align: center;
    width: 100%;
    
}

/* 主卡片容器 */
.three-steps .anti-fraud-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    width: 90%;
    padding: 40px;
    text-align: center;
    margin: 0 auto;

}

/* 標題樣式 */
.three-steps .main-title {
    color: #ff8200;
    font-size: 28px;
    margin-bottom: 40px;
    border-bottom: 3px solid #ff8200;
    display: inline-block;
    padding-bottom: 8px;
}

/* 內容佈局：圖片與文字並排 */
.three-steps .content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: left;
}

/* 圖片區塊 */
.three-steps .image-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.three-steps .image-box img {
    /* max-width: 350px; */
    width: 90%;
    height: auto;
}

/* 步驟文字區塊 */
.three-steps .steps-box {
    flex: 1.5;
}

.three-steps .step-item {
    padding: 15px 0;
}

/* 步驟間的虛線分隔 */
.three-steps .step-item:not(:last-child) {
    border-bottom: 1px dashed #dddddd;
}

/* 步驟小標題 */
.three-steps .step-title {
    color: #ff8200;
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* 標題左側的小橘線 */
.three-steps .step-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: #ff8200;
    margin-right: 10px;
}

/* 步驟內文描述 */
.three-steps .step-desc {
    /* color: #444444; */
    line-height: 1.7;
    /* font-size: 0.95rem; */
    margin: 0 0 0 16px;
}

.three-steps .step-desc span , .three-steps .step-desc a{
    /* color: #ff8200; */
    color: #2d2d2d;
    font-weight: 800;
    transition: .3s;
}
.three-steps .step-desc span , .three-steps .step-desc a:hover{
    color: #ff8200;
}


/* 手機改為垂直堆疊 */
@media (max-width: 768px) {
    .three-steps .content-container {
        flex-direction: column;
    }
    
    .three-steps .image-box img {
        /* max-width: 180px; */
        max-width: 90%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width:500px){
    .three-steps{
        padding-top: 0;
    }
}



/* --------------⬆⬆⬆ 防詐三口訣 第五區塊 結束 ⬆⬆⬆-------------- */
/* ------------------------------------------------------------ */





/* -------------⬇⬇⬇ 宣導 第六區塊 開始 ⬇⬇⬇------------ */

.obank-propaganda-wrapper{
    width: 100%;
    /* height: 80vh; */
    text-align: center;
    padding: 80px 0;

}

.block-6{
    margin: 20px  auto 60px;
}
.scam-block{
    font-family:  Arial, sans-serif;
}

.obank-announcement-style .news-list{
    font-family:  Arial, sans-serif;
    letter-spacing: 0.5px;
}


/* --------------⬆⬆⬆ 宣導 第六區塊 結束 ⬆⬆⬆-------------- */
/* -------------------------------------------------------- */








/* -------------⬇⬇⬇ 防詐資源 第七區塊 開始 ⬇⬇⬇------------ */


.anti-fraud-wrapper {
    
    background-color: #fffaf5;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;

    text-align: center;
}

.anti-fraud-container {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}


/* 卡片網格：設定間距 */
.resource-grid-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    justify-content: flex-start;
}

/* 單一卡片：電腦版三個一排，寬度完全一致 */
.resource-card-item {
    background-color: #ffffff;
    border: 1px solid #ff8200;
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #2d2d2d;
    
    
    flex: 0 0 calc((100% - 40px) / 3);
    width: calc((100% - 40px) / 3);
    
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.resource-card-item:hover {
    /* background-color: #fff2e6; */
    transform: translateY(-3px);
    /* box-shadow: 0 5px 15px rgba(242, 141, 53, 0.2); */
    color: #ff8200;
}

/* 內容區塊與文字溢出處理 */
.card-inner-content {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0; 
    flex: 1;
}

.card-logo-img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    object-fit: contain;
}

.card-main-text {
    /* font-weight: bold; */
    font-size: 16px;
    white-space: nowrap;     
    overflow: hidden;         
    text-overflow: ellipsis;  
}

.card-arrow {
    color: #ff8200;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    margin-left: 10px;
}

/* 響應式：平板（兩個一排） */
@media (max-width: 1024px) {
    .resource-card-item {
        flex: 0 0 calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
    }
}

/* 響應式：手機（一個一排） */
@media (max-width: 660px) {
    .resource-card-item {
        flex: 0 0 100%;
        width: 100%;
        padding: 12px 20px;
    }
    .anti-fraud-title {
        font-size: 26px;
    }
}





/* --------------⬆⬆⬆ 防詐資源 第七區塊 結束 ⬆⬆⬆-------------- */
/* -------------------------------------------------------- */







/* -------------⬇⬇⬇ 最新公告 第八區塊 開始 ⬇⬇⬇------------ */

.obank-announcement-style .news-container {
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    padding: 0 25px;
}


/* --- 2. 自動編號核心 --- */
.obank-announcement-style .news-list {
    margin-top: 40px;
    /* 重置計數器名稱 */
    counter-reset: news-rank; 
}

.obank-announcement-style .news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #2d2d2d;
    transition: 0.3s;
    /* 每個項目進入時計數器 +1 */
    counter-increment: news-rank;
}

.obank-announcement-style .news-item:hover {
    background-color: #fdfdfd;
    color: #ff8200;
}

/* --- 3. 網格對齊：數字對齊數字，文字對齊文字 --- */
.obank-announcement-style .news-text {
    font-size: 1rem;
    text-align: left;
    flex-grow: 1; 
    
    display: grid;
    grid-template-columns: 30px 1fr; 
    align-items: flex-start;         
    gap: 5px;                        
}

/* 透過偽元素自動產生數字內容 */
.obank-announcement-style .news-text::before {
    content: counter(news-rank) ".";
    font-weight: bold;
    color: #2d2d2d;
}

.obank-announcement-style .news-item:hover .obank-announcement-style .news-text::before {
    color: #ff8200;
}

.obank-announcement-style .arrow-1 {
    color: #ff8200;
    font-weight: bold;
    margin-left: 15px;
}

/* --- 4. 手風琴隱藏區塊動畫 --- */
.obank-announcement-style .more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

/* 當 JS 加入 .show 時展開 */
.obank-announcement-style .more-content.show {
    max-height: 1000px; 
}

/* --- 5. 按鈕樣式 --- */
.obank-announcement-style .view-more-btn {
    margin-top: 30px;
    padding: 10px 60px;
    border: 1px solid #ff8200;
    background: transparent;
    color: #ff8200;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.obank-announcement-style .view-more-btn:hover {
    background: #ff8200;
    color: white;
}


/* -------------⬆⬆⬆ 最新公告 第八區塊 結束 ⬆⬆⬆------------- */
/* --------------------------------------------------------- */

@media screen and (max-width:500px){
    .obank-announcement-style .news-container{
        margin-top: 0;
    }
    .block-6{
        margin: 0 auto;
    }
    .anti-fraud-wrapper{
        padding-top: 0;
    }
    .obank-announcement-style .news-list{
        margin-top: 0;
    }
}