.cms-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 120px 60px 80px;
    text-align: center;
}
.cms-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}
.cms-hero-label {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 14px;
    color: #F79009;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.cms-hero h1 {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}
.cms-hero-desc {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.cms-list-section {
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.cms-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.cms-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}
.cms-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.cms-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}
.cms-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cms-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    font-size: 48px;
}
.cms-card-body {
    padding: 24px;
}
.cms-card-category {
    display: inline-block;
    font-family: "Noto Sans TC", sans-serif;
    font-size: 12px;
    color: #F79009;
    background: rgba(247, 144, 9, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}
.cms-card-body h3 {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 8px;
    line-height: 1.4;
}
.cms-card-body p {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cms-card-date {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 13px;
    color: #bbb;
}
.cms-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.cms-tag {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 12px;
    background: #f0f0f0;
    color: #666;
    padding: 4px 10px;
    border-radius: 4px;
}
.cms-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #aaa;
}
.cms-empty span {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}
.cms-empty p {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 18px;
}

.cms-detail-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 120px 60px 60px;
}
.cms-detail-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}
.cms-back-link {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    transition: color 0.3s;
}
.cms-back-link:hover {
    color: #F79009;
}
.cms-detail-hero-inner h1 {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0;
    line-height: 1.4;
}
.cms-detail-hero-inner .cms-card-date {
    color: rgba(255, 255, 255, 0.6);
}

.cms-detail-section {
    padding: 60px;
}
.cms-detail-content {
    max-width: 800px;
    margin: 0 auto;
}
.cms-detail-cover {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}
.cms-detail-cover img {
    width: 100%;
    height: auto;
}
.cms-detail-body {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.cms-detail-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2E2E2E;
    margin: 32px 0 16px;
}
.cms-detail-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2E2E2E;
    margin: 24px 0 12px;
}
.cms-detail-body p {
    margin-bottom: 16px;
}
.cms-detail-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}
.cms-detail-body ul, .cms-detail-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.cms-detail-body li {
    margin-bottom: 8px;
}
.cms-detail-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cms-latest-section {
    padding: 80px 60px;
    background: #ffffff;
}
.cms-latest-section.dark {
    background: #f8f9fa;
}
.cms-latest-header {
    text-align: center;
    margin-bottom: 40px;
}
.cms-latest-header h2 {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #2E2E2E;
}
.cms-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.cms-latest-more {
    text-align: center;
    margin-top: 40px;
}
.cms-more-link {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 16px;
    color: #F79009;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}
.cms-more-link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cms-hero {
        padding: 100px 20px 60px;
    }
    .cms-hero h1 {
        font-size: 32px;
    }
    .cms-list-section {
        padding: 40px 20px;
    }
    .cms-list-grid {
        grid-template-columns: 1fr;
    }
    .cms-detail-hero {
        padding: 100px 20px 40px;
    }
    .cms-detail-hero-inner h1 {
        font-size: 28px;
    }
    .cms-detail-section {
        padding: 40px 20px;
    }
    .cms-latest-section {
        padding: 60px 20px;
    }
    .cms-latest-grid {
        grid-template-columns: 1fr;
    }
}
