/* css/specialty.css · 07 盘前特产图鉴（2×3 暗黑蒙版海报大卡，demo.html 与 specialty-detail.html 共用） */

.badge.badge-emerald {
    background: rgba(16, 185, 129, 0.14);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 999px;
}

.specialty-hero-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.specialty-hero-title { color: #F4F4F5; font-size: 24px; font-weight: 600; letter-spacing: 0.5px; }
.specialty-hero-lead { color: #A1A1AA; font-size: 13px; line-height: 1.7; max-width: 820px; }

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

/* ===== 海报大卡 ===== */
.specialty-card {
    position: relative;
    min-height: 380px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0E1015;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.22), 0 8px 32px rgba(0, 0, 0, 0.45);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.specialty-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.35), 0 0 28px rgba(16, 185, 129, 0.16), 0 12px 40px rgba(0, 0, 0, 0.6);
}
.specialty-card.active { border-color: rgba(16, 185, 129, 0.6); }
.specialty-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.18);
    filter: brightness(0.6) saturate(1.1) hue-rotate(var(--hue, 0deg));
    transition: transform .6s ease;
}
.specialty-card:hover img { transform: scale(1.26); }
.specialty-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 10, 0.25) 0%, rgba(14, 16, 21, 0.82) 50%, rgba(7, 8, 10, 0.97) 100%);
    pointer-events: none;
}
.specialty-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    padding: 20px;
}
.specialty-tag {
    width: fit-content;
    padding: 3px 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.14);
    color: #34D399;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}
.specialty-title { color: #F4F4F5; font-size: 20px; font-weight: 700; line-height: 1.35; }
.specialty-sub { margin-top: 2px; color: #00F0FF; font-size: 12px; opacity: 0.85; }
.specialty-lead { margin-top: 8px; color: #A1A1AA; font-size: 13px; line-height: 1.7; }
.specialty-divider { margin: 12px 0 10px; border: none; border-top: 1px dashed rgba(255, 255, 255, 0.16); }
.specialty-points { list-style: none; margin: 0; padding: 0; color: #D4D4D8; font-size: 12.5px; line-height: 1.9; }
.specialty-points li { position: relative; padding-left: 16px; }
.specialty-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #3B82F6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.9);
}
.specialty-cta {
    align-self: flex-end;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 0 12px rgba(0, 240, 255, 0.12);
    color: #F4F4F5;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}
.specialty-card:hover .specialty-cta { border-color: rgba(0, 240, 255, 0.5); color: #00F0FF; }

/* 二级页底部切换栏紧凑卡 */
.specialty-card.compact,
.specialty-card.compact .specialty-card-body { min-height: 150px; }
.specialty-card.compact .specialty-title { font-size: 15px; }

@media (max-width: 1366px) {
    .specialty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .specialty-grid { grid-template-columns: 1fr; }
}
