:root {
    --primary-color: #42b883;
    --secondary-color: #35495e;
    --text-color: #2c3e50;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Banner */
header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #41b883 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
}

header a {
  text-decoration: none;
  color: #fec76f;
}


/* Container */
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 4rem 4rem 4rem;
    /* Prevent overflow */
    width: 100%;
}

/* Main Grid Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Section Styling */
.section-column h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #eef0f2;
    padding-bottom: 1rem;
}

.section-column h2::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 4px;
}

/* List/Table Styling (Replaces Card) */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-item {
    background: transparent;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
}

.list-item:hover {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transform: translateX(4px);
    border-color: transparent;
}

.item-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.item-icon {
    color: #aeb5bc;
    font-size: 1.25rem;
    transition: var(--transition);
}

.list-item:hover .item-icon {
    color: var(--primary-color);
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
}

.item-date {
    font-size: 0.85rem;
    color: #94a3b8;
}

.download-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    white-space: nowrap;
}

.list-item:hover .download-link {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem 2rem 2rem;
    }
}

@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
