/* Sakurairo 机场推荐：玻璃磁贴 + 主题色序号 + 胶囊跳转 */
.entry-content .airport-cards,
.airport-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 24px;
    counter-reset: iro-air;
    text-align: left;
}

.entry-content p:has(> .airport-card),
.entry-content p:has(> .airport-cards) {
    margin: 0;
    padding-bottom: 0;
    line-height: inherit;
}

.airport-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    margin: 0;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-skin-matching, #505050) 14%, transparent) 0%, transparent 48%),
        rgba(255, 255, 255, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 1px 24px -8px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    counter-increment: iro-air;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.airport-card:hover {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-skin-matching, #505050) 18%, transparent) 0%, transparent 48%),
        rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
}

.airport-card::before {
    content: counter(iro-air, decimal-leading-zero);
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme-skin-matching, #505050);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--theme-skin-matching, #505050) 35%, transparent);
}

.airport-card-body {
    flex: 1 1 auto;
    min-width: 0;
}

.airport-card-name {
    font-size: 15px;
    font-weight: 650;
    color: var(--theme-skin, #505050);
    line-height: 1.35;
    margin-bottom: 4px;
}

.airport-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #888;
}

.entry-content a.airport-jump-btn,
.airport-jump-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--theme-skin-matching, #505050);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    border: 2px solid var(--theme-skin-matching, #505050);
    white-space: nowrap;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.entry-content a.airport-jump-btn:hover,
.airport-jump-btn:hover {
    background: #fff;
    color: var(--theme-skin-matching, #505050) !important;
    text-decoration: none !important;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.16);
}

.airport-jump-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .airport-card {
        flex-wrap: nowrap;
        padding: 12px;
        gap: 10px;
    }

    .airport-card::before {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    .airport-card-name {
        font-size: 14px;
    }

    .airport-card-desc {
        font-size: 12px;
    }

    .airport-jump-btn {
        margin-left: auto;
        padding: 7px 12px;
        box-shadow: none;
    }
}

body.dark .airport-card {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-skin-matching, #505050) 16%, transparent) 0%, transparent 48%),
        rgba(40, 40, 40, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 24px -8px rgba(0, 0, 0, 0.45);
}

body.dark .airport-card:hover {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-skin-matching, #505050) 22%, transparent) 0%, transparent 48%),
        rgba(50, 50, 50, 0.72);
}

body.dark .airport-card-name {
    color: #e6e6e6;
}

body.dark .airport-card-desc {
    color: #999;
}

body.dark .airport-jump-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}
