﻿        /* 修改後的導覽列：不再懸浮，改為隨頁面捲動 */
        .nav-static {
            margin: 30px 20px 20px 20px;
            background: #ffffff;
            padding: 12px 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 100px;
            border: 1px solid #e2e8f0;
        }

        .nav-left { display: flex; align-items: center; }
        .nav-title { font-weight: 900; color: #064e3b; font-size: 1.25rem; letter-spacing: 0.5px; }
        .nav-right { display: flex; align-items: center; gap: 15px; }

        .year-select {
            padding: 6px 20px;
            border-radius: 50px;
            border: 1px solid #e2e8f0;
            background: #ffffff;
            color: #064e3b;
            font-size: 0.95rem;
            cursor: pointer;
            font-weight: 700;
            outline: none;
            transition: all 0.3s;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23059669'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            padding-right: 35px;
        }

        .award-wrapper { max-width: 1240px; margin: 0 auto; padding: 0 20px 60px 20px; }

        /* 年度標題 */
        .year-header { display: flex; align-items: center; gap: 15px; margin: 10px 0 30px 0; width: 100%; }
        .year-ad { font-size: 2.2rem; font-weight: 800; color: #059669; line-height: 1; }
        .year-divider { flex-grow: 1; height: 1px; background: #e2e8f0; }
        .year-roc { color: #64748b; font-weight: 500; font-size: 1.1rem; white-space: nowrap; }

        .modern-layout { display: grid; gap: 40px; }
        .modern-section { background: transparent; padding: 0; }

        .main-category-title { color: #0f172a; margin-bottom: 25px; font-weight: 800; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
        

        /* 膠囊式子標題樣式 - 漸層色 */
        .capsule-subtitle {
            display: inline-block;
            background: linear-gradient(to right, #065f46 0%, #059669 100%); 
            color: #ffffff;
            padding: 6px 24px;
            border-radius: 50px;
            font-size: 1.05rem;
            font-weight: 700;
            margin: 25px 0 15px 10px;
            letter-spacing: 0.5px;
            border: none;
        }

        /* 特殊獎項勳章與彩帶樣式 */
        .special-header-row { display: flex; align-items: center; margin-bottom: 20px; }
        .special-medal-box { 
            position: relative; 
            width: 40px; 
            height: 50px; 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            margin-right: 12px; 
            flex-shrink: 0; 
        }
        .medal-circle { width: 28px; height: 28px; background: #fbbf24; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; z-index: 2; position: relative; }
        
        .ribbon-box { display: flex; gap: 4px; margin-top: -8px; z-index: 1; }
        .ribbon-tail { width: 10px; height: 18px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
        .ribbon-red { background: #f87171; }
        .ribbon-blue { background: #60a5fa; }

        .special-title-text { color: #0f172a; font-size: 1.4rem; margin: 0; font-weight: 900; }

        /* --- 卡片格線佈局 --- */
        .grid-container { 
            display: grid; 
            gap: 20px; 
            margin-bottom: 20px; 
        }
        .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
        
        .award-card { 
            background: #f8fafc; 
            border: 1px solid #e2e8f0; 
            border-radius: 20px; 
            overflow: hidden; 
            display: flex; 
            flex-direction: column; 
            height: 100%; 
            transition: border-color 0.2s; 
        }
        .card-img-header { 
            background: #f1f5f9; 
            height: 180px; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            padding: 10px; 
            border-bottom: 1px solid #e2e8f0;
            box-sizing: border-box;
            flex-shrink: 0;
        }
        .card-img-header img { 
            max-height: 100%; 
            max-width: 100%; 
            object-fit: contain; 
            cursor: zoom-in; 
            background: white; 
            border-radius: 4px; 
        }

        .card-body { 
            padding: 15px; 
            flex-grow: 1; 
            display: flex; 
            flex-direction: column; 
            gap: 8px;
        }

        .card-tag-row {
            margin-bottom: 0px;
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
            align-items: center;
        }

        .card-title { 
            font-size: 1rem; 
            font-weight: 700; 
            color: #064e3b; 
            margin-bottom: 2px; 
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .card-info-content {
            margin-top: auto;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .info-row { font-size: 0.85rem; color: #64748b; display: block; }
        .info-label { font-weight: 700; color: #94a3b8; margin-right: 4px; background: #f8fafc; padding: 1px 5px; border-radius: 3px; font-size: 0.7rem; }
        .info-content { line-height: 1.4; color: #475569; }
        
        .list-container { display: flex; flex-direction: column; gap: 10px; }
        .award-list-item { padding: 16px; background: #ffffff; border-radius: 10px; border: 1px solid #e2e8f0; display: flex; align-items: flex-start; gap: 12px; transition: all 0.2s; }
        .item-index { background: #059669; color: white; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; margin-top: 2px; }
        
        .list-photo-group { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed #f1f5f9; }
        .list-thumb { 
            width: 80px; 
            height: 80px; 
            object-fit: cover; 
            border-radius: 6px; 
            cursor: zoom-in; 
            border: 1px solid #e2e8f0;
            background: #fff;
        }

        .tag { font-size: 0.7rem; padding: 1px 8px; border-radius: 4px; background: #f1f5f9; color: #64748b; font-weight: 700; border: 1px solid #e2e8f0; }

        #lightbox { display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
        #lightbox img { max-width: 90%; max-height: 85%; border-radius: 4px; }

        @media (max-width: 768px) {
            .nav-static { margin: 15px 10px; padding: 8px 15px; }
            .grid-cols-3 { grid-template-columns: 1fr; }
        }