/* Community invitations: editorial type, deep teal and clear Facebook blue. */
.community-page {
  --community-blue: #285d9a;
}
.community-page .resource-hero {
  padding-top: 54px;
  padding-bottom: 42px;
}
.community-page .resource-hero .section-index {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
}
.community-page .resource-hero h1 {
  font-size: clamp(46px, 5.25vw, 72px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 20px 0 18px;
}
.community-page .resource-hero h1 .display-serif {
  color: var(--accent, var(--teal));
  font-size: 1.1em;
  letter-spacing: -.025em;
}
.community-page .resource-subtitle {
  font-size: clamp(21px, 1.85vw, 25px);
  font-weight: 500;
  line-height: 1.55;
}
.community-page .resource-hero-note {
  padding: 12px 0 12px 36px;
}
.community-page .community-note-glyph {
  font-size: 106px;
  line-height: .75;
}
.community-page .resource-hero-note p {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.015em;
}
.community-page .resource-hero-note > span:last-child {
  font-size: 13px;
  line-height: 1.5;
}
.community-page .community-invitations {
  gap: 26px;
  align-items: stretch;
}
.community-page .community-card {
  --community-panel: #103e43;
  --community-ink: #f3faf6;
  --community-accent: #a5e4d2;
  --community-muted: #c2dcd5;
  --community-border: #23565b;
  --community-button-bg: #b9ebda;
  --community-button-ink: #103e43;
  background: var(--community-panel);
  color: var(--community-ink);
  border: 1px solid var(--community-border);
  border-radius: 10px;
  padding: 30px 34px 32px;
  box-shadow: 0 9px 24px #103e4309;
  min-width: 0;
}
.community-page .community-follow {
  --community-panel: #e8f0f9;
  --community-ink: #183b5e;
  --community-accent: #285d9a;
  --community-muted: #465e77;
  --community-border: #ccdcec;
  --community-button-bg: #245a94;
  --community-button-ink: #ffffff;
}
.community-page .community-card-top {
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--community-accent) 25%, transparent);
}
.community-page .community-card-top > span {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.6;
  color: var(--community-accent);
}
.community-page .community-card-top svg {
  width: 40px;
  height: 40px;
  color: var(--community-accent);
}
.community-page .community-card h2 {
  font-size: clamp(32px, 3.15vw, 45px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 24px 0 20px;
  color: var(--community-ink);
}
.community-page .community-card h2 .display-serif {
  color: var(--community-accent);
  font-size: 1.14em;
  letter-spacing: -.02em;
  font-weight: 400;
}
.community-page .community-bangla {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--community-ink);
  margin: 0 0 14px;
}
.community-page .community-english {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--community-muted);
  max-width: 43ch;
  margin-bottom: 27px;
}
.community-page .community-button {
  background: var(--community-button-bg);
  color: var(--community-button-ink);
  font-size: 15px;
  font-weight: 700;
  min-height: 56px;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  letter-spacing: -.01em;
}
.community-page .community-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--community-accent) 23%, transparent);
}
.community-page .community-button:focus-visible {
  outline: 3px solid var(--community-accent);
  outline-offset: 4px;
}
.community-page .community-external-note {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 17px;
  margin-bottom: 30px;
}
.community-page .resource-next {
  padding-top: 30px;
  margin-bottom: 52px;
}
.community-page .resource-next h2 {
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -.03em;
}
.community-page .resource-next h2 .display-serif {
  color: var(--accent, var(--teal));
}
.community-page .resource-next p:lang(bn) {
  font-size: 20px;
  line-height: 1.6;
}
html[data-theme="dark"] .community-page .community-card {
  --community-panel: #123c41;
  --community-ink: #edf8f2;
  --community-accent: #9ce0cb;
  --community-muted: #bed8cf;
  --community-border: #326067;
}
html[data-theme="dark"] .community-page .community-follow {
  --community-panel: #172f48;
  --community-ink: #edf4fb;
  --community-accent: #a3caff;
  --community-muted: #c0cfe1;
  --community-border: #36516e;
  --community-button-bg: #b6d4fc;
  --community-button-ink: #173652;
}
html[data-palette="cobalt"] .community-page .community-group {
  --community-panel: #263568;
  --community-ink: #fffbed;
  --community-accent: #d2dcff;
  --community-muted: #d6def3;
  --community-border: #415184;
  --community-button-bg: #e3eaff;
  --community-button-ink: #263568;
}
html[data-palette="cobalt"] .community-page .community-follow {
  --community-panel: #e6ebff;
  --community-ink: #263568;
  --community-accent: #304dce;
  --community-muted: #505d80;
  --community-border: #c5cfee;
  --community-button-bg: #304dce;
  --community-button-ink: #fffbed;
}
html[data-palette="cobalt"][data-theme="dark"] .community-page .community-group {
  --community-panel: #26345b;
  --community-ink: #f4f1e6;
  --community-accent: #c2d0ff;
  --community-muted: #d0d8ec;
  --community-border: #455681;
}
html[data-palette="cobalt"][data-theme="dark"] .community-page .community-follow {
  --community-panel: #2e3852;
  --community-ink: #f4f1e6;
  --community-accent: #b9caff;
  --community-muted: #c5cee5;
  --community-border: #4e5b7a;
  --community-button-bg: #b9caff;
  --community-button-ink: #263568;
}
@media (max-width: 900px) {
  .community-page .community-card { padding: 26px; }
  .community-page .community-bangla { font-size: 21px; }
}
@media (max-width: 760px) {
  .community-page .resource-hero { padding-top: 34px; padding-bottom: 30px; }
  .community-page .resource-hero h1 { font-size: clamp(42px, 8vw, 60px); }
  .community-page .community-invitations { gap: 20px; }
  .community-page .community-card h2 { font-size: clamp(34px, 6.5vw, 43px); }
  .community-page .community-english { max-width: none; }
  .community-page .resource-next { margin-bottom: 40px; }
}
@media (max-width: 400px) {
  .community-page .community-card { padding: 23px; }
  .community-page .community-card-top > span { font-size: 10px; letter-spacing: .075em; }
  .community-page .community-button { padding: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .community-page .community-button:hover { transform: none; }
}
