/* Figma Community — WhatsApp Groups list */

.lcwc.communities-container,
.lcwc {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px 24px;
  background: transparent;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  border-radius: 0;
  min-height: 0;
  box-sizing: border-box;
}

.lcwc *,
.lcwc *::before,
.lcwc *::after {
  box-sizing: border-box;
}

.lcwc .communities-header {
  text-align: left;
  margin: 0 0 14px;
}

.lcwc .communities-header h2 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #666666;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
}

.lcwc .communities-header p {
  display: none;
}

.lcwc .header-whatsapp-icon {
  width: 28px;
  height: 28px;
  background: transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: none;
  box-shadow: none;
  flex-shrink: 0;
}

.lcwc .header-whatsapp-icon svg {
  width: 26px;
  height: 26px;
  fill: #25D366;
}

.lcwc .scroll-wrapper {
  position: static;
  overflow: visible;
  padding: 0;
  margin: 0;
  scrollbar-width: none;
}

.lcwc .scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.lcwc .cards-horizontal,
.lcwc .lcwc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.lcwc .whatsapp-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 72px;
  margin: 0;
  padding: 14px 14px 14px 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px -4px rgba(10, 69, 79, 0.16);
  overflow: hidden;
  cursor: default;
  animation: none;
  transform: none !important;
  flex-shrink: 1;
}

.lcwc .whatsapp-card:hover {
  transform: none !important;
  box-shadow: 0 2px 10px -4px rgba(10, 69, 79, 0.16);
}

.lcwc .whatsapp-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #2E7D32;
}

.lcwc .card-header {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}

.lcwc .card-icon {
  display: none;
}

.lcwc .card-title {
  margin: 0;
  color: #1A1A1A;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
}

.lcwc .card-members,
.lcwc .card-purpose {
  margin: 0;
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  font-family: "Abhaya Libre", Georgia, sans-serif;
}

.lcwc .card-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.lcwc .why-join {
  display: none !important;
}

.lcwc .btn-whatsapp {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px !important;
  margin: 0 !important;
  background: #2E7D32 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.lcwc .btn-whatsapp svg {
  display: none;
}

.lcwc .btn-whatsapp:hover,
.lcwc .btn-whatsapp:focus {
  background: #256628 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.lcwc .scroll-indicators,
.lcwc .nav-arrows {
  display: none !important;
}

/* Community page chrome */
body.page-community .site-content,
body.page-id-443 .site-content {
  background: #F3F8F8;
}

body.page-community .page__title,
body.page-id-443 .page__title,
body.page-community .entry-header,
body.page-id-443 .entry-header {
  display: none !important;
}

body.page-community .page__text,
body.page-id-443 .page__text {
  max-width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide other community sections for now (forum / news lists) */
body.page-community .lc-forum,
body.page-id-443 .lc-forum,
body.page-community .lc-community-list,
body.page-id-443 .lc-community-list,
body.page-community .ultp-block-wrapper,
body.page-id-443 .ultp-block-wrapper {
  display: none !important;
}

body.page-community .lc-sos-listen,
body.page-id-443 .lc-sos-listen {
  padding: 15px 16px;
}

@media (min-width: 769px) {
  .lcwc.communities-container,
  .lcwc {
    padding-top: 8px;
  }
}
