:root {
    --hub-ink: #172033;
    --hub-muted: #5e6b7d;
    --hub-line: #dbe3ef;
    --hub-paper: #ffffff;
    --hub-bg: #f6f8fb;
    --hub-blue: #2563eb;
    --hub-teal: #0f766e;
    --hub-gold: #b7791f;
    --hub-rose: #be123c;
}

* {
    box-sizing: border-box;
}

body.topic-hub {
    margin: 0;
    background: var(--hub-bg);
    color: var(--hub-ink);
    font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.75;
}

.hub-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hub-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(219, 227, 239, 0.9);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.hub-nav {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hub-brand {
    color: var(--hub-ink);
    font-size: 0.95rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.hub-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    font-size: 0.92rem;
    font-weight: 700;
}

.hub-links a {
    color: var(--hub-muted);
    text-decoration: none;
}

.hub-links a:hover,
.hub-links a[aria-current="page"] {
    color: var(--hub-blue);
}

.hub-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--hub-ink);
    color: #fff !important;
    padding: 0.55rem 1rem;
    text-decoration: none;
}

.hub-hero {
    padding: 72px 0 42px;
}

.hub-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
    gap: 32px;
    align-items: end;
}

.hub-kicker {
    margin: 0 0 14px;
    color: var(--hub-blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hub-title {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.08;
}

.hub-lead {
    margin: 22px 0 0;
    max-width: 760px;
    color: var(--hub-muted);
    font-size: 1.08rem;
}

.hub-stat-panel {
    display: grid;
    gap: 12px;
}

.hub-stat {
    border: 1px solid var(--hub-line);
    border-radius: 8px;
    background: var(--hub-paper);
    padding: 18px;
}

.hub-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
}

.hub-stat span {
    color: var(--hub-muted);
    font-size: 0.9rem;
}

.hub-section {
    padding: 34px 0;
}

.hub-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.hub-section h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.18;
}

.hub-section-head p {
    margin: 0;
    max-width: 560px;
    color: var(--hub-muted);
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hub-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    border: 1px solid var(--hub-line);
    border-radius: 8px;
    background: var(--hub-paper);
    padding: 22px;
    color: var(--hub-ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 16px 38px rgba(23, 32, 51, 0.1);
}

.hub-card small {
    color: var(--hub-blue);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-card h3 {
    margin: 10px 0 8px;
    font-size: 1.18rem;
    line-height: 1.35;
}

.hub-card p {
    margin: 0;
    color: var(--hub-muted);
    font-size: 0.95rem;
}

.hub-card .hub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hub-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--hub-line);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--hub-muted);
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.hub-list {
    display: grid;
    gap: 10px;
}

.hub-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--hub-line);
    border-radius: 8px;
    background: var(--hub-paper);
    padding: 16px 18px;
    color: var(--hub-ink);
    text-decoration: none;
}

.hub-row:hover {
    border-color: rgba(37, 99, 235, 0.35);
}

.hub-row strong {
    display: block;
    line-height: 1.45;
}

.hub-row span {
    color: var(--hub-muted);
    font-size: 0.9rem;
}

.hub-row em {
    color: var(--hub-blue);
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.hub-band {
    border: 1px solid var(--hub-line);
    border-radius: 8px;
    background: #172033;
    color: #fff;
    padding: 28px;
}

.hub-band p {
    color: rgba(255, 255, 255, 0.76);
}

.hub-footer {
    margin-top: 40px;
    border-top: 1px solid var(--hub-line);
    padding: 30px 0 42px;
    color: var(--hub-muted);
    font-size: 0.9rem;
}

.hub-footer a {
    color: var(--hub-muted);
    text-decoration: none;
}

.hub-footer a:hover {
    color: var(--hub-blue);
}

@media (max-width: 900px) {
    .hub-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .hub-links {
        justify-content: flex-start;
    }

    .hub-hero-grid,
    .hub-grid,
    .hub-grid.two,
    .hub-section-head {
        grid-template-columns: 1fr;
    }

    .hub-section-head {
        display: block;
    }
}

@media (max-width: 560px) {
    .hub-shell {
        width: min(100% - 24px, 1120px);
    }

    .hub-links {
        gap: 12px;
        font-size: 0.85rem;
    }

    .hub-hero {
        padding-top: 46px;
    }

    .hub-row {
        grid-template-columns: 1fr;
    }
}
