.community-page {
  width: min(calc(100% - 40px), 880px);
  margin: 0 auto;
  padding: clamp(1.3rem, 4vw, 3.2rem) 0 clamp(2rem, 5vw, 4rem);
  color: var(--ink);
}

.community-page h1, .community-page h2, .community-page .invite {
  font-family: var(--serif);
  font-weight: 400;
}

.community-page h1 {
  margin: 0 0 .75rem;
  font-size: clamp(2.45rem, 6vw, 4.25rem);
  line-height: 1.1;
}

.community-page h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.66rem, 3.8vw, 2.55rem);
  line-height: 1.2;
}

.community-page .intro, .community-page .community-paragraph {
  max-width: 70ch;
  margin: 0 0 clamp(1.05rem, 2.2vw, 1.6rem);
  font-size: clamp(.96rem, 1.5vw, 1.1rem);
  line-height: 1.57;
  color: var(--soft);
}

html:lang(th) .community-page h1, html:lang(th) .community-page h2,
html:lang(th) .community-page .invite {
  letter-spacing: 0;
  line-height: 1.42;
}

html:lang(th) .community-page h1 { font-size: clamp(2.16rem, 5.7vw, 3.9rem); }
html:lang(th) .community-page .intro, html:lang(th) .community-page .community-paragraph {
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  line-height: 1.68;
}

html:lang(zh) .community-page h1, html:lang(zh) .community-page h2,
html:lang(zh) .community-page .invite {
  font-family: Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  line-height: 1.4;
  letter-spacing: 0;
}

.community-image { display: block; }
.community-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
}

.community-page .park { margin-bottom: clamp(1.15rem, 3.1vw, 2.25rem); }
.community-page .park img { aspect-ratio: 2.12; }
.community-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.6rem, 1.8vw, 1rem);
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
}
.community-photos img { aspect-ratio: 1.6; }
.community-page .gym img { aspect-ratio: 1.5; }
.community-page figcaption {
  margin-top: .35rem;
  font-size: .8rem;
  line-height: 1.45;
  font-weight: 600;
}
.community-page .gym figcaption { font-weight: 400; }
.community-page .gallery-link {
  display: inline-block;
  padding: .7rem 0;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.55;
}
.community-page .invite {
  max-width: none;
  margin: .45rem 0 1.1rem;
  padding-top: clamp(1.05rem, 2.25vw, 1.65rem);
  border-top: 1px solid var(--line);
  font-size: clamp(1.38rem, 3.3vw, 2rem);
  line-height: 1.3;
}
.community-page .care {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(.7rem, 1.8vw, 1.2rem);
  align-items: start;
  padding: clamp(.95rem, 2.2vw, 1.5rem);
  background: #ebeedf;
  border-radius: 4px;
}
.community-page .shield {
  width: 30px;
  height: 34px;
  margin-top: .15rem;
}
.community-page .care h2 {
  margin: 0 0 .25rem;
  font-size: clamp(1.32rem, 2.7vw, 1.75rem);
}
.community-page .care p { max-width: 67ch; font-size: .94rem; line-height: 1.55; }
.community-viewing { margin-top: 1rem; }
.community-viewing .cta { width: 100%; min-height: 46px; gap: .35em; text-align: center; }
.site-community[aria-current="page"] { text-decoration-thickness: 2px; }
@media (max-width: 779px) {
  body[data-view="community"] { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
}
