﻿/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
    color: #333;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0px;
}

/* ===== Frontend Responsive Container ===== */
.container {
    width: 100%;
    /*max-width: 1200px;*/
    margin-right: auto;
    margin-left: auto;
    overflow-wrap: anywhere;
}
.container img,
.container video,
.container iframe {
    max-width: 100%;
}
.container img,
.container video {
    height: auto;
}
@media (max-width: 767.98px) {
    .container {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* ===== Layout reset ===== */
.front-header,
.front-nav,
.front-footer,
.front-mobile-menu {
    margin: 0;
    padding: 0;
}
.front-nav ul, .front-nav ol,
.front-footer ul, .front-footer ol,
.front-mobile-menu ul, .front-mobile-menu ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.front-header a,
.front-nav a,
.front-footer a,
.front-mobile-menu a {
    color: inherit;
    text-decoration: none;
}
.front-brand img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Header ===== */
.front-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}
.front-brand {
    flex-shrink: 0;
}
.front-brand img {
    height: 36px;
    width: auto;
    object-fit: contain;
}
.front-nav {
    display: none;
    flex: 1;
    justify-content: center;
}
.front-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
}
.front-nav > ul > li {
    position: relative;
}
.front-nav > ul > li > a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.front-nav > ul > li > a:hover {
    background: #f5f5f5;
    color: #1a73e8;
}
.front-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 6px 0;
    min-width: 170px;
    display: none;
    z-index: 1001;
}
.front-nav ul ul li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #555;
    transition: background 0.15s;
}
.front-nav ul ul li a:hover {
    background: #f5f5f5;
    color: #1a73e8;
}
.front-nav > ul > li:hover > ul {
    display: block;
}
@media (min-width: 768px) {
    .front-nav { display: flex; }
}

/* ===== Header Tools (menu btn + langs) ===== */
.front-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.front-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    border-radius: 6px;
    transition: background 0.2s;
}
.front-menu-btn:hover {
    background: #f5f5f5;
}
@media (min-width: 768px) {
    .front-menu-btn { display: none; }
}
.front-langs {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    font-size: 12px;
    border-radius: 4px;
    color: #999;
    transition: all 0.15s;
}
.lang-btn:hover {
    color: #1a73e8;
    background: #e8f0fe;
}
.lang-btn.active {
    color: #1a73e8;
    background: #e8f0fe;
    font-weight: 600;
}

.google-translate-host {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}

body > .skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.banner-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #f5f8fc;
}

.banner-carousel-track {
    position: relative;
    min-height: clamp(360px, 48vw, 720px);
}

.banner-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.banner-carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.banner-carousel-slide a,
.banner-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-carousel-slide img {
    object-fit: cover;
}

.banner-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 1px solid #dce4f0;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: #3c4a5f;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(37,54,87,0.12);
}

.banner-carousel-prev {
    left: 24px;
}

.banner-carousel-next {
    right: 24px;
}

.banner-carousel-nav:hover {
    background: #fff;
    color: #276ed8;
}

@media (max-width: 768px) {
    .banner-carousel-track {
        min-height: 280px;
    }

    .banner-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .banner-carousel-prev {
        left: 10px;
    }

    .banner-carousel-next {
        right: 10px;
    }
}

/* ===== Mobile Menu ===== */
.front-mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}
.front-mobile-menu.open {
    display: block;
}
.front-mobile-menu ul ul {
    padding-left: 20px;
    background: #fafafa;
}
.front-mobile-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}
.front-mobile-menu a:hover {
    background: #f5f5f5;
    color: #1a73e8;
}

/* ===== Main Content ===== */
.front-main {
    flex: 1;
    width: 100%;
    margin-top: 60px;
}

/* ===== Footer ===== */
.front-footer {
    width: 100%;
    align-self: stretch;
    background: #061322;
    border-top: 1px solid #061322;
    /*padding: 24px 20px;*/
    text-align: center;
    font-size: 13px;
    color: #fff;
    overflow: hidden;
}
.front-footer > * {
    width: 100%;
    max-width: none;
}

/* ===== Page Title ===== */
.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    padding: 40px 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.page-title + .page-content {
    padding-top: 20px;
}

/* ===== Content Area ===== */
.page-content {
    all: initial;
    display: block;
    width: 100%;
}
.page-content-narrow {
    all: initial;
    display: block;
    margin: 0 auto;
}
.page-content-wide {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Cards Grid ===== */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
}
@media (min-width: 640px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-img-placeholder {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #bbb;
    letter-spacing: 1px;
}
.card-body {
    padding: 20px;
}
.card-date {
    font-size: 12px;
    color: #aaa;
}
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 6px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-title a {
    color: inherit;
}
.card-title a:hover {
    color: #1a73e8;
}
.card-summary {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #1a73e8;
}
.card-link:hover {
    color: #1557b0;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #aaa;
    padding: 0 0 20px;
}
.breadcrumb a {
    color: #1a73e8;
}
.breadcrumb a:hover {
    color: #1557b0;
}
.breadcrumb span {
    color: #666;
}

/* ===== Detail Page ===== */
.news-detail > .breadcrumb {
    padding-top: 20px;
}
.news-detail > .breadcrumb,
.news-detail > .detail-date {
    margin-left: 100px;
    margin-right: 100px;
}
@media (max-width: 767.98px) {
    .news-detail > .breadcrumb,
    .news-detail > .detail-date {
        margin-left: 0;
        margin-right: 0;
    }
}
.detail-date {
    font-size: 13px;
    color: #aaa;
    display: block;
    margin-bottom: 8px;
}
.detail-summary {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}
.detail-main-image {
    margin: 0 0 30px;
}
.detail-main-image img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== Attachments ===== */
.attachments {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}
.attachments h2 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}
.attach-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.attach-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
    border-radius: 8px;
    padding: 12px 16px;
}
.attach-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.attach-ext {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
}
.attach-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}
.attach-size {
    font-size: 11px;
    color: #aaa;
}
.attach-download {
    font-size: 13px;
    font-weight: 500;
    color: #1a73e8;
    white-space: nowrap;
}
.attach-download:hover {
    color: #1557b0;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    transition: all 0.15s;
}
.pagination a:hover {
    background: #e8f0fe;
    border-color: #1a73e8;
    color: #1a73e8;
}
.pagination .current {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
    font-weight: 600;
}

/* ===== Empty / 404 ===== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 40px 20px;
    text-align: center;
}
.empty-state h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 8px;
}
.empty-state p {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 24px;
}
.empty-state a {
    display: inline-block;
    padding: 10px 28px;
    background: #1a73e8;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.empty-state a:hover {
    background: #1557b0;
}

/* ===== Welcome ===== */
.welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    color: #bbb;
    font-size: 18px;
}

/* ===== Fade In ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.front-main > * {
    animation: fadeIn 0.3s ease-out;
}

/* ===== News Shortcode Style 2 ===== */
.news-style2-container {
    width: min(1120px, calc(100vw - 48px));
    margin: 64px auto;
    color: #0d2a5c;
}
.news-style2-container .news-style2-heading {
    margin: 0 0 28px;
    text-align: center;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
    color: #2f6fca;
    letter-spacing: 0;
}
.news-style2-container .news-style2-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: end;
    gap: 28px;
    margin-bottom: 34px;
}
.news-style2-container .news-style2-big-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 18px;
    background: #dfe8f5 center / cover no-repeat;
    box-shadow: 0 18px 38px rgba(18, 38, 80, 0.18);
}
.news-style2-container .news-style2-big-card:nth-child(2) {
    min-height: 180px;
}
.news-style2-container .news-style2-big-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 22, 52, 0.04) 35%, rgba(9, 22, 52, 0.78) 100%);
}
.news-style2-container .news-style2-big-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    padding: 28px;
    color: #fff;
    text-decoration: none;
}
.news-style2-container .news-style2-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    color: #2f6fca;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
}
.news-style2-container .news-style2-big-link h3,
.news-style2-container .news-style2-big-link .card-title {
    margin: 0;
    max-width: 86%;
    color: #fff;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}
.news-style2-container .news-style2-big-card:nth-child(2) .news-style2-big-link h3,
.news-style2-container .news-style2-big-card:nth-child(2) .news-style2-big-link .card-title {
    font-size: 18px;
}
.news-style2-container .news-style2-big-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ca0bd;
    font-size: 24px;
}
.news-style2-container .news-style2-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.news-style2-container .news-style2-sub-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #e6eef8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(18, 38, 80, 0.06);
}
.news-style2-container .news-style2-sub-tag {
    margin-bottom: 14px;
    color: #2f6fca;
    font-size: 12px;
    font-weight: 800;
}
.news-style2-container .news-style2-sub-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}
.news-style2-container .news-style2-sub-title a {
    color: #0d2a5c;
    text-decoration: none;
}
.news-style2-container .news-style2-sub-summary {
    margin: 0;
    color: #60708d;
    font-size: 14px;
    line-height: 1.65;
}
.news-style2-container .news-style2-sub-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #edf2f8;
    color: #486083;
    font-size: 13px;
}
.news-style2-container .news-style2-arrow {
    margin-left: auto;
    color: #346fd5;
    text-decoration: none;
    font-size: 18px;
}
.news-style2-container .news-style2-download {
    color: #346fd5;
    text-decoration: none;
}
.news-style2-more-wrapper,
.news-style1-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}
.news-style2-more-btn,
.news-style1-more-btn {
    min-width: 168px;
    min-height: 42px;
    padding: 0 24px;
    border: 1px solid #fff;
    border-radius: 10px;
    background: #346fd5;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.news-style2-more-btn:hover,
.news-style1-more-btn:hover {
    background: #265bb5;
    color: #fff;
}

/* ===== News Shortcode Style 3 ===== */
.news-style3-container {
    width: min(1180px, calc(100vw - 48px));
    margin: 64px auto;
    color: #0d2a5c;
}
.news-style3-container .news-style3-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 180px;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}
.news-style3-container .news-style3-search {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid #d8e2f0;
    border-radius: 27px;
    background: #fff;
}
.news-style3-container .news-style3-search span {
    display: none;
}
.news-style3-container .news-style3-search::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-right: 12px;
    border: 2px solid #8aa0bf;
    border-radius: 50%;
    box-sizing: border-box;
}
.news-style3-container .news-style3-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #0d2a5c;
    font: inherit;
}
.news-style3-container .news-style3-search-btn {
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: #346fc4;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.news-style3-container .news-style3-clear-btn {
    min-height: 54px;
    border: 0;
    background: transparent;
    color: #346fc4;
    font-weight: 800;
    cursor: pointer;
}
.news-style3-container .news-style3-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 48px;
}
.news-style3-container .news-style3-tags::before {
    content: attr(aria-label);
    margin-right: 6px;
    color: #687894;
    font-weight: 700;
}
.news-style3-container .news-style3-tag {
    min-height: 36px;
    padding: 0 18px;
    border: 1px solid #9fc1df;
    border-radius: 999px;
    background: #fff;
    color: #2f5f84;
    font-weight: 800;
    cursor: pointer;
}
.news-style3-container .news-style3-tag.is-active {
    border-color: #62b4dc;
    background: #62b4dc;
    color: #fff;
}
.news-style3-container .news-style3-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
}
.news-style3-container .news-style3-card {
    overflow: hidden;
    border: 1px solid #e6eef8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(18, 38, 80, 0.06);
}
.news-style3-container .news-style3-card-image {
    display: flex;
    width: 100%;
    aspect-ratio: 1.78;
    align-items: center;
    justify-content: center;
    background: #dfe8f5;
    color: #8ca0bd;
    text-decoration: none;
}
.news-style3-container .news-style3-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-style3-container .news-style3-card-body {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 26px;
}
.news-style3-container .news-style3-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.news-style3-container .news-style3-card-tags span {
    padding: 4px 10px;
    border-radius: 7px;
    background: #eef5ff;
    color: #346fd5;
    font-size: 12px;
    font-weight: 800;
}
.news-style3-container .news-style3-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}
.news-style3-container .news-style3-card h3 a {
    color: #0d2a5c;
    text-decoration: none;
}
.news-style3-container .news-style3-card p {
    margin: 0;
    color: #60708d;
    font-size: 14px;
    line-height: 1.65;
}
.news-style3-container .news-style3-card-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #edf2f8;
    color: #486083;
    font-size: 13px;
}
.news-style3-container .news-style3-card-footer a {
    margin-left: auto;
    color: #346fd5;
    text-decoration: none;
    font-size: 18px;
}
.news-style3-container .news-style3-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
}
.news-style3-container .news-style3-page,
.news-style3-container .news-style3-ellipsis {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5edf6;
    border-radius: 50%;
    background: #fff;
    color: #516581;
    font-weight: 700;
}
.news-style3-container .news-style3-page {
    cursor: pointer;
}
.news-style3-container .news-style3-page.is-active {
    border-color: #1f79cb;
    background: #1f79cb;
    color: #fff;
}
.news-style3-container .news-style3-page:disabled {
    opacity: 0.45;
    cursor: default;
}
.news-style3-container .news-style3-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    color: #60708d;
}

/* ===== Milestone Timeline ===== */
.milestone-timeline-section {
    width: min(1080px, calc(100vw - 48px));
    margin: 72px auto;
    color: #1b416a;
}

.milestone-timeline-title {
    margin: 0 0 64px;
    text-align: center;
    color: #2b82cf;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: 1px;
}

.milestone-timeline {
    position: relative;
    display: grid;
    gap: 74px;
}

.milestone-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: #dcecf8;
}

.milestone-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.milestone-item:nth-child(odd) .milestone-date {
    grid-column: 1;
    justify-self: end;
    text-align: right;
}

.milestone-item:nth-child(odd) .milestone-cards {
    grid-column: 3;
}

.milestone-item:nth-child(even) .milestone-date {
    grid-column: 3;
    justify-self: start;
}

.milestone-item:nth-child(even) .milestone-cards {
    grid-column: 1;
    grid-row: 1;
    direction: rtl;
}

.milestone-dot {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 30px;
    height: 30px;
    border: 5px solid #c8f2fb;
    border-radius: 50%;
    background: #14b9df;
    box-shadow: 0 0 0 2px #7fd6ee;
}

.milestone-date {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.milestone-year {
    color: #e4f0f9;
    font-size: 72px;
    font-weight: 800;
}

.milestone-month {
    color: #1477c9;
    font-size: 54px;
    font-weight: 900;
}

.milestone-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    min-width: 0;
}

.milestone-card {
    direction: ltr;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(49, 101, 150, 0.14);
}

.milestone-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.9;
    object-fit: cover;
}

.milestone-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf3fb;
    color: #9abbd7;
    font-weight: 800;
}

.milestone-card-body {
    padding: 20px 16px;
}

.milestone-card-body h3 {
    margin: 0 0 12px;
    color: #1477c9;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.milestone-card-body p {
    margin: 0;
    color: #32465d;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

/* ===== Announcement Shortcode Style 1 ===== */
.announcement-style1-container {
    width: min(1120px, calc(100vw - 48px));
    margin: 64px auto;
    color: #15233b;
}
.announcement-style1-container .announcement-style1-title {
    margin: 0 0 34px;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}
.announcement-style1-container .announcement-style1-tabs {
    display: flex;
    justify-content: center;
    gap: 42px;
    margin-bottom: 34px;
}
.announcement-style1-container .announcement-style1-tab {
    min-width: 96px;
    min-height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #2e3748;
    font-weight: 800;
    cursor: pointer;
}
.announcement-style1-container .announcement-style1-tab.is-active {
    background: #2f80de;
    color: #fff;
    box-shadow: 0 12px 26px rgba(47,128,222,0.25);
}
.announcement-style1-container .announcement-style1-list {
    overflow: hidden;
    border: 1px solid #edf1f6;
    border-radius: 10px;
    background: #fff;
}
.announcement-style1-container .announcement-style1-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 72px;
    padding: 16px 22px;
    border-bottom: 1px solid #edf1f6;
}
.announcement-style1-container .announcement-style1-item[hidden] {
    display: none !important;
}
.announcement-style1-container .announcement-style1-item:last-child {
    border-bottom: 0;
}
.announcement-style1-container .announcement-style1-icon {
    color: #2f80de;
    font-size: 22px;
}
.announcement-style1-container .announcement-style1-info h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}
.announcement-style1-container .announcement-title-link {
    color: #15233b;
    text-decoration: none;
    cursor: pointer;
}
.announcement-style1-container .announcement-title-link:hover {
    color: #2f80de;
    text-decoration: underline;
}
.announcement-style1-container .announcement-style1-info p {
    margin: 0;
    color: #6c7788;
    font-size: 13px;
}
.announcement-style1-container .announcement-style1-download {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #fff;
    color: #394150;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .news-style2-container,
    .news-style3-container,
    .milestone-timeline-section,
    .announcement-style1-container {
        width: min(100% - 32px, 680px);
        margin: 40px auto;
    }
    .news-style2-container .news-style2-top-grid,
    .news-style2-container .news-style2-sub-grid,
    .news-style3-container .news-style3-grid {
        grid-template-columns: 1fr;
    }
    .news-style3-container .news-style3-toolbar {
        grid-template-columns: 1fr;
    }
    .announcement-style1-container .announcement-style1-tabs {
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .announcement-style1-container .announcement-style1-item {
        grid-template-columns: 28px minmax(0, 1fr);
    }
    .announcement-style1-container .announcement-style1-download {
        grid-column: 2;
        justify-self: flex-start;
    }

    .milestone-timeline-title {
        margin-bottom: 36px;
        font-size: 34px;
    }

    .milestone-timeline {
        gap: 44px;
    }

    .milestone-timeline::before {
        left: 15px;
    }

    .milestone-item,
    .milestone-item:nth-child(odd),
    .milestone-item:nth-child(even) {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 16px;
    }

    .milestone-item:nth-child(odd) .milestone-date,
    .milestone-item:nth-child(even) .milestone-date {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        text-align: left;
        margin-bottom: 12px;
    }

    .milestone-item:nth-child(odd) .milestone-cards,
    .milestone-item:nth-child(even) .milestone-cards {
        grid-column: 2;
        grid-row: 2;
        direction: ltr;
    }

    .milestone-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        width: 24px;
        height: 24px;
        margin-top: 20px;
        border-width: 4px;
    }

    .milestone-year {
        font-size: 44px;
    }

    .milestone-month {
        font-size: 36px;
    }
}
