/* Community section styling for homepage */
.home-community-section {
    background: #050505;
    position: relative;
    overflow: hidden;
}

.home-community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.community-question-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.community-question-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: #D4AF37;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.community-question-card .cat-badge {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.community-question-card .q-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 15px 0;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.community-question-card .q-title:hover {
    color: #D4AF37;
}

.community-question-card .q-meta {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.top-answer-snippet {
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid #D4AF37;
    padding: 12px;
    margin: 15px 0;
    border-radius: 0 10px 10px 0;
}

.top-answer-snippet .answer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-answer-snippet .answerer-info {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 11px;
}

.top-answer-snippet .answerer-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #D4AF37;
}

.btn-answer-now {
    width: 100%;
    margin-top: 15px;
    font-size: 12px;
    padding: 8px 0;
    border-radius: 50px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-answer-now:hover {
    background: #D4AF37;
    color: black;
}

.community-stats {
    display: flex;
    gap: 15px;
}

.community-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.community-stats i {
    color: #D4AF37;
}

.btn-community-outline {
    border: 2px solid #D4AF37;
    color: #D4AF37;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-community-outline:hover {
    background: #D4AF37;
    color: black;
    transform: scale(1.05);
}

.btn-community-gold {
    background: #D4AF37;
    color: black;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-community-gold:hover {
    background: white;
    transform: scale(1.05);
}
