/* ============================================
   外链GO跳转 — 前端样式
   ============================================ */

/* 文章底部外链卡片 */
.gel-link-card {
    margin: 24px 0;
    padding: 0;
}
.gel-link-card-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f6ffed, #f0fff0);
    border: 1px solid #a1a1a8;
    border-radius: 12px;
    transition: all 0.25s ease;
}
.gel-link-card-inner:hover {
    border-color: #2163e8;
    box-shadow: 0 4px 16px rgba(82, 196, 26, 0.15);
    transform: translateY(-1px);
}

/* 图标 */
.gel-link-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}
.gel-link-card-icon img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}
.gel-link-card-icon .dashicons {
    font-size: 22px;
    color: #2163e8;
    width: 22px;
    height: 22px;
}

/* 内容 */
.gel-link-card-body {
    flex: 1;
    min-width: 0;
}
.gel-link-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gel-link-card-desc {
    font-size: 13px;
    color: #666;
    margin-top: 3px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gel-link-card-url {
    font-size: 12px;
    color: #2163e8;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.gel-link-card-url .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

/* 按钮 */
.gel-link-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #2163e8, #2163e8);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
.gel-link-card-btn:hover {
    background: linear-gradient(135deg, #2163e8, #237804);
    color: #fff;
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
    transform: translateY(-1px);
}
.gel-link-card-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* 文章内容中的GO链接样式 */
.entry-content a[href*="go="] {
    color: #2163e8;
    text-decoration: none;
    border-bottom: 1px dashed #b7eb8f;
    transition: all 0.2s;
}
.entry-content a[href*="go="]:hover {
    color: #2163e8;
    border-bottom-color: #2163e8;
}

/* 响应式 */
@media (max-width: 600px) {
    .gel-link-card-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .gel-link-card-btn {
        width: 100%;
        justify-content: center;
    }
}
