/* 金推獎歷年成果：直式卡片，一列最多四個 */
.article.edit .packet-section {
    margin-top: var(--gap-l, 1.5rem);
}

.article.edit .packet-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0;
}

.article.edit .packet-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article.edit .packet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.article.edit .packet-img-box {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f3f5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.article.edit .packet-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.article.edit .packet-card h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px;
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-bottom: none;
    padding-bottom: 0;
    font-weight: bold;
}

.article.edit .archive-img-link,
.article.edit .archive-name-link {
    color: inherit;
    text-decoration: none;
}

.article.edit .archive-name-link:hover {
    color: var(--siteColor1-dark, #0a6e5c);
}

.article.edit .archive-date {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 991.98px) {
    .article.edit .packet-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .article.edit .packet-container {
        grid-template-columns: 1fr;
    }
}
