/* Community page — News banner (Figma) */

.lc-news-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto 16px;
  padding: 16px;
  box-sizing: border-box;
  width: calc(100% - 32px);
  background: linear-gradient(90deg, #127376 0%, #0A4650 100%);
  border-radius: 16px;
  text-decoration: none !important;
  color: #fff !important;
  box-shadow: 0 2px 10px -4px rgba(10, 69, 79, 0.25);
}

.lc-news-banner:hover,
.lc-news-banner:focus {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(1.03);
}

.lc-news-banner__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lc-news-banner__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.lc-news-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.lc-news-banner__title {
  color: #ffffff;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.lc-news-banner__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

body.page-community .lcwc.communities-container,
body.page-id-443 .lcwc.communities-container,
body.page-whatsapp-groups .lcwc.communities-container {
  padding-bottom: 16px;
}

body.page-whatsapp-groups {
  background: #F3F8F8;
}

body.page-whatsapp-groups .page__title,
body.page-whatsapp-groups .entry-title,
body.page-whatsapp-groups .entry-header {
  display: none;
}

@media (min-width: 769px) {
  body.lc-desk-home.page-whatsapp-groups .lcwc,
  body.lc-desk-home.page-whatsapp-groups .lcwc.communities-container {
    display: flex !important;
    flex-direction: column !important;
    max-width: 640px;
    margin: 28px auto 40px;
  }

  body.lc-desk-home.page-whatsapp-groups .lcwc .header-whatsapp-icon,
  body.lc-desk-home.page-whatsapp-groups .lcwc .whatsapp-card {
    display: flex !important;
  }

  body.lc-desk-home.page-whatsapp-groups .lcwc .btn-whatsapp,
  body.lc-desk-home.page-whatsapp-groups .lcwc a[href*="whatsapp"],
  body.lc-desk-home.page-whatsapp-groups .lcwc a[href*="wa.me"] {
    display: inline-flex !important;
  }
}

html[lang^="ta"] .lc-news-banner__title {
  font-size: 14px;
}

html[lang^="ta"] .lc-news-banner__subtitle {
  font-size: 14px;
}

@media (min-width: 769px) {
  .lc-news-banner {
    width: 100%;
    max-width: 520px;
  }
}

/* —— Events + Join CTA (Figma) —— */

.lc-events {
  max-width: 520px;
  margin: 0 auto 16px;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lc-events__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lc-events__head-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.lc-events__title {
  margin: 0;
  color: #666666 !important;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

.lc-events__title:hover,
.lc-events__title:focus {
  color: #0a4650 !important;
  text-decoration: none !important;
}

.lc-events__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-events__empty {
  margin: 0;
  color: #666666;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 16px;
}

.lc-events__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px -6px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.lc-events__date {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #137477 0%, #0A454F 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
}

.lc-events__date--empty {
  opacity: 0.35;
}

.lc-events__day {
  color: #ffffff;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 18px;
  font-weight: 800;
}

.lc-events__month {
  color: #ffffff;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lc-events__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lc-events__name {
  margin: 0;
  color: #1a1a1a;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.lc-events__name a {
  color: inherit !important;
  text-decoration: none !important;
}

.lc-events__loc {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666666;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}

.lc-events__pin {
  display: inline-flex;
  flex-shrink: 0;
}

.lc-events__details {
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #127275 0%, #0A4851 100%);
  color: #ffffff !important;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1;
  white-space: nowrap;
}

.lc-events__details:hover,
.lc-events__details:focus {
  color: #ffffff !important;
  text-decoration: none !important;
  filter: brightness(1.05);
}

.lc-community-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.lc-community-join {
  margin-bottom: 0;
}

html[lang^="ta"] .lc-events__name {
  font-size: 15px;
}

html[lang^="ta"] .lc-events__details {
  font-size: 15px;
}
