/* ==========================================================================
   Card Styles
   ========================================================================== */

/* Community Cards */
.community-card {
    background-color: #1a1a1a;
    border: 1px solid #ffffff1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.community-card:hover {
    border-color: var(--bs-yellow);
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.community-card-img-top {
    height: 180px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.community-card:hover .community-card-img-top {
    transform: scale(1.05);
}

.community-card .card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.community-card .card-body > div:first-child {
	flex-grow: 1;
	min-height: 100px;
	display: flex;
	flex-direction: column;
}

.community-card-title-label {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bs-yellow);
}

.community-card .card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 2.6em;
}

.community-card .card-title a:hover {
    color: var(--bs-yellow);
}

.community-card .card-text {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 1rem;
}

/* Listing Cards */
.listing-card {
    background-color: #1f1f1f;
    border: 1px solid #ffc107;
    padding: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.listing-card p,
.listing-card .tags {
    color: #ccc;
}

/* ponytail: activity-box, news-box deleted — never referenced */
.news-overlay-box {
    background-color: #f6fff508;
    border: 1px solid hsl(108deg 2.11% 53.53% / 12.16%);
    max-height: 260px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ponytail: content-box* deleted — profile.php moved to .bordered-section
   (redesign.css) and nothing else ever referenced these. */

/* ponytail: site-card, submission-card deleted — never referenced */
