.community-main { max-width: 1120px; padding: 28px 24px 72px; margin: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-180%); z-index: 30; padding: 10px 18px; background: white; }
.skip-link:focus { transform: none; }
.preview-note { max-width: none; padding: 12px 16px; border: 1px solid #d6c8a9; border-radius: 8px; color: #685426; background: #fffbf2; font-size: 13px; }
.community-intro { padding: 64px 0 52px; }
.eyebrow { font: 550 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .13em; color: #716045; margin-bottom: 20px; }
.community-intro h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.04; }
.community-lede { margin-top: 24px; max-width: 580px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.featured { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #e8e1d5; border-radius: 16px; background: #faf8f3; overflow: hidden; }
.featured-copy { padding: 42px 0 42px 38px; align-self: center; }
.featured h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin-bottom: 20px; }
.featured-copy > p:not(.eyebrow) { color: var(--muted); max-width: 38ch; }
.featured-copy .reading-note { font-size: 13px; margin: 20px 0; }
.featured-figure { margin: 0; padding: 18px 14px 22px; align-self: center; }
.featured-figure img { width: 100%; height: auto; display: block; }
.featured-figure figcaption { color: #706758; font-size: 12px; text-align: center; }
.community-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px 0; }
.community-doors article { border-top: 1px solid var(--line); padding-top: 22px; }
.door-number { font: 12px var(--mono); color: var(--muted); }
.community-doors h2 { font-size: 24px; margin: 18px 0 14px; }
.community-doors p { color: var(--muted); margin-bottom: 18px; }
.text-action { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; padding: 0; font: 550 15px var(--sans); background: none; border: 0; color: var(--accent); text-decoration: none; }
.text-action:disabled { color: var(--muted); cursor: default; }
.button:disabled { color: #606675; }
.community-note { border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); font-size: 13px; }
.community-note p { max-width: 80ch; }
.community-footer { border-top: 1px solid var(--line); padding: 25px 0; color: var(--muted); font-size: 13px; }
.community-footer .wrap { max-width: 1120px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 640px) {
  .community-main { padding: 20px 20px 48px; }
  .community-intro { padding: 38px 0; }
  .community-lede { font-size: 17px; }
  .featured, .community-doors { grid-template-columns: 1fr; }
  .featured-copy { padding: 28px 24px 0; }
  .featured-figure { padding: 0 8px 20px; }
  .community-doors { gap: 32px; padding: 38px 0; }
  .featured .button { font-size: 13px; padding: 12px; line-height: 1.4; }
}

/* The learning collection shares Hooke's navigation, with its own editorial surface. */
.community-page { background: #fcfaf6; }
.community-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: end; padding: 62px 0 68px; }
.community-intro h1 { font: 400 clamp(52px, 7vw, 88px)/1 Georgia, 'Times New Roman', serif; letter-spacing: -.055em; color: #182f2b; }
.community-intro h1 em { font-weight: 400; color: #5b725a; }
.community-lede { margin: 0 0 6px; font-size: 17px; line-height: 1.8; max-width: 39ch; }
.section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid #d9d8cb; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font: 500 14px var(--sans); letter-spacing: 0; }
.section-heading > span { color: #687364; font: 11px var(--mono); }
.featured { background: #eef0e6; border: 1px solid #dce0d2; border-radius: 4px; margin-bottom: 24px; }
.featured-copy { padding: 40px 6px 40px 36px; }
.featured h2 { font: 400 clamp(34px, 4vw, 48px)/1.08 Georgia, serif; letter-spacing: -.04em; max-width: 12ch; }
.featured h2 a { color: #1a3930; text-decoration: none; }
.featured h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.featured .text-action { color: #234f3f; border-bottom: 1px solid #7e9782; }
.featured .eyebrow { color: #526847; }
.featured-figure { mix-blend-mode: multiply; }
.community-doors { gap: 24px; padding: 12px 0 48px; }
.community-doors article { background: #f3f0e9; border-top: 0; padding: 30px 32px; }
.community-doors article:last-child { background: #edf0ef; }
.community-doors h2 { font: 400 30px/1.14 Georgia, serif; letter-spacing: -.025em; color: #233c35; }
.community-doors p { font-size: 14px; line-height: 1.8; }
.community-doors .text-action { color: #284f43; }
.empty-lessons { padding: 32px 0; color: #5b675b; }
@media (max-width: 680px) {
  .community-intro { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 40px; }
  .community-intro h1 { font-size: clamp(52px, 12vw, 72px); }
  .community-lede { font-size: 16px; }
  .featured { grid-template-columns: 1fr; }
  .featured-copy { padding: 28px 24px 0; }
  .featured h2 { font-size: 38px; }
  .featured-figure { padding-top: 10px; }
  .community-doors { grid-template-columns: 1fr; gap: 16px; }
  .community-doors article { padding: 26px; }
}

/* Collections can be empty, a single feature, or a growing editorial grid. */
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.entry-card { min-width: 0; background: #f0f1e9; border: 1px solid #dce0d2; border-radius: 4px; overflow: hidden; }
.entry-card.featured { grid-column: 1 / -1; margin: 0; grid-template-columns: 1fr 1fr; }
.entry-card .featured-copy { padding: 30px 32px; }
.entry-card.featured .featured-copy { padding: 44px 36px; }
.entry-card h2 { font: 400 clamp(30px, 3.5vw, 44px)/1.1 Georgia, serif; letter-spacing: -.035em; max-width: 18ch; }
.entry-card h2 a { color: #1a3930; text-decoration: none; }
.entry-card h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.entry-card .featured-figure { padding: 24px; }
.entry-card .featured-figure img { aspect-ratio: 720 / 570; object-fit: contain; }
.entry-card:not(.featured) .featured-figure { padding-bottom: 0; }
.entry-card .reading-note { font-size: 12px; line-height: 1.7; color: #626c60; }
.collection-empty { grid-column: 1 / -1; display: grid; grid-template-columns: 140px 1fr; gap: 36px; padding: 52px; background: #eef0e6; border: 1px solid #dce0d2; }
.empty-mark { font: 80px/1 Georgia, serif; color: #6d8063; }
.collection-empty h2 { font: 400 clamp(30px, 4vw, 46px)/1.13 Georgia, serif; letter-spacing: -.035em; max-width: 22ch; margin-bottom: 20px; color: #233c35; }
.collection-empty p { max-width: 52ch; color: #58645c; margin-bottom: 20px; }
.collection-invitation { margin: 40px 0; padding: 24px 0; border-block: 1px solid #ded9ce; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.collection-invitation p { margin: 0; }
.community-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.community-guidelines { max-width: 720px; padding: 20px 0 52px; }
.community-guidelines h2 { font: 400 40px/1.1 Georgia, serif; letter-spacing: -.035em; color: #233c35; }
.community-guidelines ul { padding-left: 20px; margin: 24px 0; }
.community-guidelines li { margin: 12px 0; color: #58645c; }
@media (max-width: 900px) { .community-doors { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
 .entry-grid, .entry-card.featured { grid-template-columns: 1fr; }
 .entry-card.featured .featured-copy, .entry-card .featured-copy { padding: 24px; }
 .entry-card .featured-figure { padding: 16px; }
 .collection-empty { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
 .empty-mark { font-size: 44px; }
 .collection-empty h2 { font-size: 34px; }
 .collection-invitation { display: block; }
 .collection-invitation p { margin-bottom: 12px; }
}
