/* ========================================
   site_Map.css - 雙北水質平台 頁面樣式
   ======================================== */
.Detection_Pattern {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #F2FFFA;
    background-image: url(../images/River_RT_Pattern.png);
    background-position: 20px calc(100% - 20px);
    background-repeat: no-repeat;
}

/* Detection_Pattern 區塊 h3/h4 樣式（親水點選單標題） */
.Detection_Pattern h3,
.Detection_Pattern h4 {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    margin-left: 0;
    text-indent: 0;
    font-weight: bold;
}

/* h3 置中、親水點文字黑色、字型放大 */
.Detection_Pattern h3 .h3-select {
    font-weight: bold;
    color: #597B00;                      /* h3.green 色 */
    font-size: inherit;
    line-height: inherit;
    vertical-align: middle;
    border: none;
    background-color: transparent;
    padding: 0 2rem 0 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    margin-right: 0.5rem;
    background-image: url(../images/DropDownList3.svg);
    background-position: calc(100% - 5px) center;
    background-repeat: no-repeat;
}
.Detection_Pattern h3 {
    justify-content: center;
    color: #636363;
    font-size: 1.875rem;
}

.Detection_Pattern h3::before,
.Detection_Pattern h4::before {
    /* align-self: stretch;
    min-height: 2.5rem;
    flex-shrink: 0; */
    display: none;
}

.Detection_Pattern h4 {
        justify-content: center;
} 
.Detection_Pattern h3 .h3-select:hover {
    box-shadow: 0 0 5px 2px #d1ffed;
}

.Detection_Pattern h3 .h3-select:focus {
    outline: 2px solid #96ffd7;
    outline-offset: 2px;
}

.Detection_Pattern h3 .h3-select option {
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    background-color: #fff;
}
/*.selectBox {
    text-align: center
}*/

.selectBox select {
    border: 1.5px solid #00B4AB;
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.4);
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    width: 200px;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
}
    .selectBox select:focus {
        border: 1px solid #FFB297;
    }

    .selectBox select:hover {
        -webkit-box-shadow: 0px 0px 10px 3px rgba(7, 197,190, .5);
        font-weight: bold;
    }

    .selectBox select option {
        background: #DDF0E9;
    }


.selectItem {
    display: inline-block;
    margin: 0 0.5rem;
}
    .selectItem label {
        display:block;
        font-size: 1.1rem;
        color: #333;
        margin-bottom: 0.5rem;
        text-align:left;
        font-weight:bold;
    }


/* RWD */
@media screen and (max-width: 47.9735em) {
    .Detection_Pattern h3 .h3-select{
        font-size: 1.25rem;
        width: 100%;
    }
}

/* ======================================
   dataBlock — 參考 Default.aspx 樣式
   ====================================== */

/* Grid 佈局：左(河川) | 中(雨量/輻射) | 右(溫度) */
.Index_Cont .dataBlock {
    display: grid;
    /* gap: 0 1rem; */
    grid-template-columns: 40% 1fr 24%;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.Index_Cont .dataBlock .riverQuality,
.Index_Cont .dataBlock .radiance,
.Index_Cont .dataBlock .temperature  { grid-area: unset; }

/* 水質區塊：dataBox 垂直排列 */
.Index_Cont .dataBlock .riverQuality .dataBox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    box-sizing: border-box;
}

/* 頂部資訊列：鄰近測站 + 所在流域 並排全寬（riverQuality / radiance 共用） */
.Index_Cont .dataBlock .riverTopInfo {
    display: flex;
    gap: 1rem;
}

.Index_Cont .dataBlock .riverTopInfo .DataCards {
    flex: 1;
    background: unset;
    padding: 0 0.5rem;
}

/* radiance dataBox：flex-column 讓測站名稱堆疊於 DataCardsFlex 上方 */
.Index_Cont .dataBlock .radiance .dataBox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    box-sizing: border-box;
}

/* 下半區：照片+DO 與圖表等高並排 */
.Index_Cont .dataBlock .riverQuality .riverBottom {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    flex: 1 1 auto;
}

/* 左欄：照片 + DO 值 */
.Index_Cont .dataBlock .riverQuality .riverLeft {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.Index_Cont .dataBlock .riverQuality .riverPhoto {
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    width: 100%;
}

.Index_Cont .dataBlock .riverQuality .riverPhoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.Index_Cont .dataBlock .riverQuality .riverDO {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.4);
    padding: 1rem;
    flex-shrink: 0;
    position: relative;
}
.Index_Cont .dataBlock .riverQuality .riverDO .itemTitle::after{
    vertical-align: text-top;
    display: block;
    color: #333;
    font-size: 0.7rem;
    border-radius: 50px;
    width: auto;
    display: inline-block;
    padding: 0rem 0.5rem;
    margin-left: 0.5rem;
    
}

    .Index_Cont .dataBlock .riverQuality .riverDO.riverG .itemTitle::after {
        content: "正常";
        background: rgba(115, 201, 121, 0.3);
        border: 2px solid rgba(0, 193, 5, 0.3);
    }

    .Index_Cont .dataBlock .riverQuality .riverDO.riverY .itemTitle::after {
        content: "尚可";
        background: rgba(255, 196, 92, 0.3);
        border: 2px solid rgba(255, 157, 0, 0.3);
    }

    .Index_Cont .dataBlock .riverQuality .riverDO.riverR .itemTitle::after {
        content: "污染";
        background: rgba(255, 161, 161, 0.3);
        border: 2px solid rgba(255, 0, 0, 0.3);
    }

        .Index_Cont .dataBlock .riverQuality .riverDO.noData .itemTitle::after {
        content: "維護中";
        background: rgba(155, 155, 155, 0.3);
        border: 2px solid rgba(91, 91, 91, 0.3);
    }





/* 右欄：圖表卡片，與左欄等高 */
.Index_Cont .dataBlock .riverQuality .riverChartBox {
    flex: 1 1 auto;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
    box-sizing: border-box;
}

/* 雨量統計 DataCards 各佔 50% */
.Index_Cont .dataBlock .radiance .dataBox.DataCardsFlex  {
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.75rem;
    box-sizing: border-box;
}
.DataCardsFlex{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.Index_Cont .dataBlock .radiance .dataBox.DataCardsFlex .DataCards {
    box-sizing: border-box;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}
.Index_Cont .dataBlock .dataBox .DataCardsFlex .rainBar {
    padding-top: 1rem;
}

/* rainBox：填滿 DataCards 剩餘高度的容器 */
.Index_Cont .dataBlock .radiance .rainBox {
    flex: 1;
        min-height: 143px;
    border: 1.5px solid #b2dede;
    border-radius: 6px;
    background-color: #edf7f7;
    position: relative;
    overflow: hidden;
    width: 50%;
    margin: auto;
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.4);
}

/* 數值標籤，顯示在框左上角 */
.Index_Cont .dataBlock .radiance .rainBoxLabel {
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
    color: #333;
    margin-top: 0.5rem;
}

/* teal 色長條，由底部向上 */
.Index_Cont .dataBlock .radiance .rainBoxFill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #00B4AB;
    transition: height 0.6s ease;
}
.Index_Cont .dataBlock .radiance .rainBoxFill.rainExceed{
    height: 100% ;
    background-color: #e69c14;
}
.Index_Cont .dataBlock .radiance .rainBoxFill.rainExceed::after{
    content: "超過標準值！";
    position: absolute;
    top: 1rem;
    left: 53%;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
}

/* rtCont 卡片共用 */
.Index_Cont .dataBlock .rtCont {
    /* width: 100%; */
    /* box-shadow: 0 0 10px rgba(7, 197, 190, 0.8); */
    /* background: rgba(255, 255, 255, 0.8); */
    border-radius: 12px;
    box-sizing: border-box;
    padding: 0;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.Index_Cont .dataBlock .rtCont.temperature{
    /* box-shadow: 0 0 10px rgba(158, 158, 158, 0.4); */
    padding: 1rem;
}

/* rtCont h4 標頭 */
.Index_Cont .dataBlock .rtCont h4 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #00807b;
    padding: 0.75rem 1rem 0.5rem;
    margin: 0;
    text-indent: 0;
    margin-left: 0;
    display: block;
}

.Index_Cont .dataBlock .rtCont h4::before {
    display: none;
}

.Index_Cont .dataBlock .rtCont h4 i {
    margin-right: 0.5rem;
}

/* DataCards 共用 */
.Index_Cont .dataBlock .DataCards {
    padding: 1rem;
    background: unset;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
}

.Index_Cont .dataBlock .dataBox .DataCardsFlex .DataCards {
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.4);
    margin: 0;
}

.Index_Cont .dataBlock .dataBox .DataCardsFlex .DataCards + .DataCards {
    margin-left: 0;
}

/* itemTitle / itemData */
.Index_Cont .dataBlock .itemTitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.Index_Cont .dataBlock .itemData {
    font-size: 1.6rem;
    font-weight: bold;
    color: #111;
}

.Index_Cont .dataBlock .itemData .unit {
    font-size: 1rem;
    font-weight: normal;
    color: #707070;
}

/* 溫度區塊 */
.Index_Cont .dataBlock .temperature {
    /* background: rgba(255, 255, 255, 0.8); */
}
/* .Index_Cont .dataBlock .temperature .dataBox {
    padding-top: 10%;
} */
.Index_Cont .dataBlock .DataCards.temp {
    padding: 3rem 1rem 1rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.4);
    margin: 1rem 0;
    height: calc(246px - 2rem);
}

.Index_Cont .dataBlock .temp .tempData {
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    padding: 0.5rem 0;
    color: #111;
}

.Index_Cont .dataBlock .temp .tempData sub {
    font-size: 1.75rem;
}

.Index_Cont .dataBlock .temp .tampBar {
    display: flex;
    position: relative;
    margin: 2rem 0.75rem 1.75rem;
}

.Index_Cont .dataBlock .temp .tampBar span {
    display: block;
    height: 1.4rem;
    width: 20%;
    position: relative;
}

.Index_Cont .dataBlock .temp .tampBar span:nth-child(1) { background: #009CDE; }
.Index_Cont .dataBlock .temp .tampBar span:nth-child(2) { background: #72D23C; }
.Index_Cont .dataBlock .temp .tampBar span:nth-child(3) { background: #FFC813; }
.Index_Cont .dataBlock .temp .tampBar span:nth-child(4) { background: #FF8113; }
.Index_Cont .dataBlock .temp .tampBar span:nth-child(5) { background: #E62628; }

.Index_Cont .dataBlock .temp .tampBar span::before {
    content: "\f0dd";
    font-weight: 900;
    font-size: 1.75rem;
    width: 100%;
    text-align: center;
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: -2rem;
    display: none;
}

.Index_Cont .dataBlock .temp .tampBar.Temp_level1 span:nth-child(1)::before { display: block; }
.Index_Cont .dataBlock .temp .tampBar.Temp_level2 span:nth-child(2)::before { display: block; }
.Index_Cont .dataBlock .temp .tampBar.Temp_level3 span:nth-child(3)::before { display: block; }
.Index_Cont .dataBlock .temp .tampBar.Temp_level4 span:nth-child(4)::before { display: block; }
.Index_Cont .dataBlock .temp .tampBar.Temp_level5 span:nth-child(5)::before { display: block; }

.Index_Cont .dataBlock .temp .tampBar span::after {
    position: absolute;
    left: -4px;
    bottom: -1.4rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: #555;
}

.Index_Cont .dataBlock .temp .tampBar span:nth-child(1)::after { content: '0'; }
.Index_Cont .dataBlock .temp .tampBar span:nth-child(2)::after { content: '11'; }
.Index_Cont .dataBlock .temp .tampBar span:nth-child(3)::after { content: '21'; }
.Index_Cont .dataBlock .temp .tampBar span:nth-child(4)::after { content: '31'; }
.Index_Cont .dataBlock .temp .tampBar span:nth-child(5)::after { content: '36'; }

.dataSocure p{
    font-size: 0.9rem;
    line-height: 1.4rem;
    color: #555;
}

/* RWD dataBlock */
@media screen and (max-width: 63.9735em) {
    .Index_Cont .dataBlock {
        grid-template-columns: 1fr 1fr;
    }

    .Index_Cont .dataBlock .temperature {
        grid-column: 1 / -1;
    }
    .Index_Cont .dataBlock .riverQuality .riverBottom {
        display: block;
    }
    .Index_Cont .dataBlock .riverQuality .riverChartBox {
        margin-top: 1rem;
    }
    .selectBox{
        margin: 0 1rem;
    }
    .DataCardsFlex {
        display: block;
    }
    .Index_Cont .dataBlock .dataBox .DataCardsFlex .DataCards + .DataCards {
        margin-top: 1rem;
    }
    .Index_Cont .dataBlock .radiance .rainBox {
        min-height: 156px;
    }
}

@media screen and (max-width: 47.9735em) {
    .Index_Cont .dataBlock {
        grid-template-columns: 1fr;
    }

    .Index_Cont .dataBlock .temperature {
        grid-column: auto;
    }
        .Index_Cont .dataBlock .riverQuality .riverBottom {
        display: block;
    }
    .Index_Cont .dataBlock .riverQuality .riverChartBox {
        margin-top: 1rem;
    }
    .selectBox{
        margin: 0 1rem;
    }

    /* .Index_Cont .dataBlock .riverTopInfo {
        display: block;
    }
    .Index_Cont .dataBlock .riverTopInfo .DataCards + .DataCards {
        margin-top: 1rem;
    } */
}

/* ============================================
   mapArea 佈局 — 左資訊面板 + 右 SVG 地圖
   ============================================ */

.mapArea {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* 左側資訊卡片 rtCont 共用基底 */
.mapArea .infoArea {
    width: 50%;
}
.mapArea .infoArea .rtCont{
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.4);
    display: flex;
    flex-direction: column;
}

/* infoArea 標題列 */
.mapArea .infoArea .rtCont> h4,
.mapArea .infoArea .rtCont> h5 {
    padding: 0.75rem 1rem;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
    text-indent: 0;
    margin-left: 0;
}

.mapArea .infoArea .rtCont> h4::before,
.mapArea .infoArea .rtCont> h5::before {
    display: none;
}

/* dataBox 撐滿剩餘高度 */
.mapArea .infoArea .rtCont .dataBox {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 照片 */
.mapArea .infoArea .rtCont .photoBox {
    overflow: hidden;
    /* flex: 0 0 auto;
    background: #ccc; */
}

.mapArea .infoArea .rtCont .photoBox img {
    width: 100%;
}

/* 介紹文字 */
.mapArea .infoArea .rtCont article {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 1.125rem;
    color: #555;
    line-height: 1.65;
    overflow-y: auto;
}

/* 相關網頁底部列 */
.mapArea .MoreLink ,.riverDO .MoreLink{
    margin: 1rem;
    display: block;
    border: 1px solid #A2C840;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

    .mapArea .MoreLink:hover ,.riverDO .MoreLink:hover {
        -webkit-box-shadow: 0.25rem 0.25rem 0.125rem 0 rgba(0,0,0,0.05);
        box-shadow: 0.25rem 0.25rem 0.125rem 0 rgba(0,0,0,0.05);
    }

    .mapArea .MoreLink a,.riverDO .MoreLink a {
        display: block;
        padding: 10px 20px;
        color: #707070;
        font-size: 1.125rem;
    }

        .mapArea .MoreLink a:focus ,.riverDO .MoreLink a:focus {
            text-decoration: underline;
        }

    .mapArea .MoreLink i ,.riverDO .MoreLink i {
        margin-right: 1rem;
        color: #305A06;
    }

    .riverDO .MoreLink{
        display: inline-block;
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        margin: 0;
    }
    .riverDO .MoreLink a {
        display: block;
        padding: 6px;
        font-size: 1rem;
    }

/* svgBox */
.mapArea .svgBox {
    width: 60%;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.mapArea .svgBox svg {
    width: 100%;
    height: auto;
    display: block;
}

/* RWD mapArea */
@media screen and (max-width: 63.9735em) {
    .mapArea .infoArea {
        width: 35%;
    }
        .mapArea {
        flex-direction: column;
        padding: 0 1rem;
    }
        .mapArea .infoArea,
    .mapArea .svgBox {
        width: 100%;
        margin-top: 2rem;
    }
}

@media screen and (max-width: 47.9735em) {
    .mapArea {
        flex-direction: column;
        padding: 0 1rem;
    }

    .mapArea .infoArea,
    .mapArea .svgBox {
        width: 100%;
        margin-top: 2rem;
    }
}

/* ============================================
   TaipeiMap SVG 樣式
   ============================================ */

/* clip-path 遮罩路徑 */
#clippath path {
    fill: none;
}

/* 主地圖內容群組 clip-path */
#MapContent {
    clip-path: url(#clippath);
}

/* 臺北市地圖區塊 */
#TaipeiCity_Map path {
    fill: #bee0e5;
}

/* 河川路徑 共用 */
#hand_River path {
    fill: none;
    stroke: #0077b2;
}

#TaipeiMap [data-name="基隆河"],
#TaipeiMap [data-name="新店溪"] {
    stroke-width: 5px;
}

#TaipeiMap [data-name="景美溪"] {
    stroke-width: 3px;
}

#TaipeiMap [data-name="淡水河"] {
    stroke-width: 12px;
}

/* 親水點 文字 */
#SitePoint text {
    font-family: HanWangYenHeavy, HanWangYenHeavy;
    font-size: 16.9px;
}

/* 親水點 圓圈共用 */
#SitePoint circle {
    stroke-miterlimit: 10;
    stroke-width: 2px;
}

#SitePoint circle.site-green {
    fill: #73c979;
    opacity: .7;
    stroke: #00c105;
}

#SitePoint circle.site-red {
    fill: #ffa1a1;
    opacity: .5;
    stroke: red;
}

#SitePoint circle.site-orange {
    fill: #ffc45c;
    opacity: .5;
    stroke: #ff9d00;
}

#SitePoint circle.site-gray {
    fill: #9b9b9b;
    opacity: .5;
    stroke: #5b5b5b;
}

/* 水質測站 圓點 */
#WaterPoint circle {
    fill: #7500e5;
    stroke: #fff;
    stroke-miterlimit: 10;
}

/* 水質測站 標記 */
#WaterPoint path {
    fill: #005cff;
    stroke: #fff;
    stroke-miterlimit: 10;
    display: none;
}
#WaterPoint .select path {
    display: block;
}

/* 圖例 */

.legendBox {
    position: absolute;
    right: 10px;
    top: 15px;
    border: 1px solid #ccc;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
}

    .legendBox div {
        font-weight: bold;
        text-align:left;
    }

ul.legend {
    text-align: left;
    position: relative;
    margin: 10px 0;
}

    ul.legend li {
        font-size: 1rem;
        line-height: 1.75em;
        padding-left: 30px;
        position: relative;
    }

        ul.legend li:before {
            content: "";
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            position: absolute;
            top: 5px;
            left: 0;
            opacity: 0.5;
        }

        ul.legend li div {
            font-size: 0.8rem;
            font-weight: normal;
        }

        /* 水質正常 → site-green */
        ul.legend li:nth-child(1):before {
            background: #73c979;
            border: 2px solid #00c105;
        }

        /* 水質尚可 → site-orange */
        ul.legend li:nth-child(2):before {
            background: #ffc45c;
            border: 2px solid #ff9d00;
        }

        /* 水質汙染 → site-red */
        ul.legend li:nth-child(3):before {
            background: #ffa1a1;
            border: 2px solid red;
        }

        /* 測站維護 → site-gray */
        ul.legend li:nth-child(4):before {
            background: #9b9b9b;
            border: 2px solid #5b5b5b;
        }

    ul.legend.legend2 {
        margin-bottom: 0;
    }
    /* 親水點 → WaterPoint circle */
    ul.legend.legend2 li:before {
        content: "";
        width: 1rem;
        height: 1rem;
        border-radius: 50%;
        background: #7500e5;
        border: 2px solid #fff;
        position: absolute;
        top: 5px;
        left: 0;
        opacity: 1;
    }

/* RWD legendBox */
@media screen and (max-width: 63.9735em) {
    .legendBox {
        padding: 0.625rem 1rem;
    }

    ul.legend li {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 47.9735em) {
    .legendBox {
        position: static;
        margin: 0.5rem 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.25rem 1rem;
        padding: 0.5rem 0.75rem;
    }

    .legendBox div {
        width: 100%;
    }

    ul.legend {
        display: flex;
        flex-wrap: wrap;
        gap: 0 1rem;
        margin: 0.25rem 0;
    }

    ul.legend li {
        font-size: 0.85rem;
        white-space: nowrap;
    }
}


.StationBasic .txtCont {
    padding-left: 0;
}
.StationBasic .txtCont ul li::before {
    content: '▪';
    margin-right: .5rem;
    color: #A7A7A7;
}

/* ===== 專欄分享 / 影片輪播 ===== */
.StationBasic .swiper {
    padding: 1.5rem;
}

.StationBasic .swiper-slide {
    display: flex;
}

.videoBox {
    margin: 1rem;
    text-align: center;
    color: #03485A;
}
.videoBox:hover {
    font-weight: bold;
    color: #347E98;
}
.videoBox:focus {
    outline: #FFCAB8 dotted 2px;
    color: #FF800E;
}
.videoBox .thumbnailBox {
    position: relative;
    cursor: pointer;
}
.videoBox .thumbnailBox img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}
.videoBox .thumbnailBox::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: background-color 0.3s ease;
}
.videoBox:hover .thumbnailBox::after {
    background-color: rgba(0, 0, 0, 0);
}
.videoBox p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.StationBasic .swiper-button-next,
.StationBasic .swiper-button-prev {
    color: #03485A;
}
.StationBasic .swiper-pagination-bullet-active {
    background: #03485A;
}

/* RWD 專欄分享 */
@media screen and (max-width: 63.9735em) {
    .StationBasic .swiper {
        padding: 1rem;
    }
    .videoBox p {
        font-size: 1.1rem;
    }
    .swiper-button-next, .swiper-button-prev {
        top: var(--swiper-navigation-top-offset, 40%);
        width: calc(var(--swiper-navigation-size) / 30 * 10);
    }
}

@media screen and (max-width: 47.9735em) {
    .StationBasic .swiper {
        padding: 0.75rem;
    }
    .videoBox {
        margin: 0.5rem;
    }
    .videoBox p {
        font-size: 1rem;
        white-space: normal;
    }
    .videoBox {
        padding: 0 1rem 1.2rem 1rem;
    }
    .swiper-button-next, .swiper-button-prev {
        top: var(--swiper-navigation-top-offset, 40%);
        width: calc(var(--swiper-navigation-size) / 30 * 10);
    }
}
