/* Community page specific styles */
.community-grid { align-items: stretch; }
.community-card { display: flex; flex-direction: column; gap: .75rem; text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.community-card:hover { transform: translateY(-2px); box-shadow: 0 16px 42px -18px rgba(0,0,0,.6); }
.community-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.community-card .card-head.center { flex-direction: column; justify-content: center; text-align: center; gap: .6rem; }
.community-card .community-icon { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }

/* Theme-specific GitHub icons */
.github-icon-dark { display: inline; }
.github-icon-light { display: none; }
[data-theme="light"] .github-icon-dark { display: none; }
[data-theme="light"] .github-icon-light { display: inline; }
.community-card .badge { font-size: .65rem; letter-spacing: .8px; text-transform: uppercase; font-weight: 700; padding: .35rem .6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .5rem; }
.community-card .badge.discord { background: #5865F2; color: #fff; }
.community-card .badge.discord::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url('../image/Discord.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.community-card .badge.github { background: #161b22; color: #fff; }
.community-card .badge.social { background: #2f66ff; color: #fff; }
.community-card p { margin: 0 0 .5rem; }
.community-card .btn { align-self: start; }

/* (Removed social list styles; card is now a single Instagram link) */
