

    /* 容器樣式 */
    .container {
        width: 100%; 
        height: 87%;
        /* max-width: 800px; */
        margin: 0 auto;
        /* background-color: #ffffff; */
        /* border-radius: 10px; */
        /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
        overflow: hidden;
    }

   .tabcontent {
        width: 100%; 
        height: 87%;
        overflow-y: auto; /* Show vertical scrollbar only when needed */
        overflow-x: auto;
        scrollbar-width: thin; /* Renders a thinner scrollbar */
    }

    date-badge {
        text-wrap: nowrap;
        white-space: nowrap;
    }

    /* 頁籤導覽列樣式 */
    .tab {
        overflow: hidden;
        border-bottom: 1px solid #ccc;
        background-color: #f9f9f9;
        display: flex;
    }

    /* 頁籤按鈕樣式 */
    .tab button {
        background-color: inherit;
        flex-grow: 1;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: background-color 0.3s, color 0.3s;
        font-size: 16px;
        font-weight: 500;
        color: #555;
    }

    /* 滑鼠懸停時的按鈕樣式 */
    .tab button:hover {
        background-color: #e9e9e9;
    }

    /* 當前選中頁籤的按鈕樣式 */
    .tab button.active {
        background-color: #fff;
        color: #005a31;
        border-bottom: 3px solid #005a31;
    }

    /* 頁籤內容區塊樣式 */
    .tabcontent {
        display: none;
        padding: 2px;
        animation: fadeIn 0.5s;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* 列表樣式 */
    .tabcontent ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
    }

    .tabcontent li {
        padding: 6px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        gap: 10px; /* 日期和標題之間的間距 */
    }

    .tabcontent li:last-child {
        border-bottom: none;
    }
    
    .date-badge {
        font-family: 'Courier New', Courier, monospace;
        background-color: #f0f0f0;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.9em;
        color: #555;
    }

    /* 新聞連結樣式 */
    .indexNewsList a {
        color: #005a31;
        text-decoration: none;
        font-weight: 500;
    }

    .indexNewsList a:hover {
        text-decoration: underline;
    }

    /* 讀取中提示樣式 */
    .loading {
        text-align: center;
        padding: 20px;
        color: #888;
    }