.guide_card {
    background: linear-gradient(135deg, rgba(30, 32, 36, 0.6) 0%, rgba(24, 26, 28, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.guide_card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guide_card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(251, 191, 36, 0.1);
}

.guide_card:hover::before {
    opacity: 1;
}

.guide_thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(30, 32, 36, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.guide_thumbnail_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.2);
    opacity: 0.3;
    z-index: 0;
}

.guide_thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.guide_card:hover .guide_thumbnail img {
    transform: scale(1.08);
}

.guide_category_badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(251, 191, 36, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.guide_content {
    padding: 24px;
}

.guide_title {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.3px;
}

.guide_description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide_author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide_author_avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.05));
    border: 2px solid rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(251, 191, 36, 0.9);
    flex-shrink: 0;
}

.guide_author_avatar_img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.guide_author_name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.guide_stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.guide_stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.guide_stat svg {
    width: 18px;
    height: 18px;
    transition: all 0.2s ease;
}

.guide_stat.guide_like_btn {
    cursor: pointer;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide_stat.guide_like_btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: rgba(251, 191, 36, 0.95);
    transform: scale(1.05);
}

.guide_stat.guide_like_btn:hover svg {
    fill: rgba(251, 191, 36, 0.95);
    stroke: rgba(251, 191, 36, 0.95);
}

.guide_stat.guide_like_btn.liked {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: rgba(251, 191, 36, 1);
}

.guide_stat.guide_like_btn.liked svg {
    fill: rgba(251, 191, 36, 1);
    stroke: rgba(251, 191, 36, 1);
}

.guide_rating {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .guide_card {
        border-radius: 14px;
    }
    
    .guide_thumbnail {
        height: 180px;
    }
    
    .guide_content {
        padding: 20px;
    }
    
    .guide_title {
        font-size: 17px;
    }
    
    .guide_description {
        font-size: 13px;
    }
}

.guide_thumbnail_placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.02));
}

.guide_thumbnail_placeholder svg {
    width: 64px;
    height: 64px;
    color: rgba(251, 191, 36, 0.4);
}
