/* TRPR website: change these values to update the site-wide colors. */
:root {
  --red: #d40012;
  --red-dark: #a6000e;
  --black: #171717;
  --gray: #5d6269;
  --line: #e5e5e5;
  --white: #fff;
  --soft: #f7f7f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--black); background: var(--white); font: 17px/1.7 Arial, Helvetica, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.container { width: min(90%, 900px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.3rem 2.3rem; }
.nav-link { display: inline-block; padding: 17px 0 13px; text-decoration: none; font-size: 0.82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 3px solid transparent; }
.nav-link:hover, .nav-link.active { color: var(--red-dark); border-bottom-color: var(--red); }
.hero { padding: 58px 0 52px; text-align: center; }
.logo { display: block; width: min(290px, 75vw); height: auto; margin: 0 auto 29px; }
.eyebrow { color: var(--red-dark); font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; margin: 0 0 12px; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.75rem); line-height: 1.2; letter-spacing: -.03em; margin: 0 0 32px; }
.intro { max-width: 750px; text-align: left; margin: auto; }
.intro p { margin: 0 0 1.15rem; }
.intro strong { color: var(--red-dark); }
.mission { text-align: center; border-top: 3px solid var(--red); background: var(--soft); padding: 47px 20px 52px; margin-bottom: 65px; }
.mission h2 { text-transform: uppercase; font-size: clamp(1.45rem, 4vw, 2.1rem); letter-spacing: .06em; line-height: 1.3; margin: 0 0 6px; }
.mission > p { margin: 0 0 28px; }
.button { display: inline-block; background: var(--red-dark); color: white; padding: 12px 30px; border-radius: 3px; text-decoration: none; text-transform: uppercase; font-size: .86rem; letter-spacing: .08em; font-weight: 700; }
.button:hover { background: #750009; }
.mission .link-note { font-size: .76rem; color: var(--gray); margin: 12px 0 0; }
.site-footer { border-top: 1px solid var(--line); text-align: center; color: var(--gray); padding: 20px 0 26px; font-size: .8rem; }
.site-footer p { margin: 3px 0; }
.footer-tagline { font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--black); }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { gap: 0 1.15rem; }
  .nav-link { font-size: .72rem; padding: 13px 0 9px; }
  .hero { padding-top: 35px; }
  .desktop-break { display: none; }
  .mission { padding: 35px 15px; margin-bottom: 40px; }
}

/* Communities page — copy a .community-card block to add another group. */
.page-heading { text-align: center; padding: 55px 0 20px; }
.page-heading h1 { margin-bottom: 12px; }
.page-heading p { color: var(--gray); margin: 0; }
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin: 24px 0 70px; }
.community-card { border: 1px solid var(--line); border-top: 4px solid var(--red); background: var(--white); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.community-card h2 { font-size: 1.4rem; line-height: 1.3; margin: 0 0 12px; }
.community-card p { margin: 0 0 24px; }
.community-card .button { margin-top: auto; }
@media (max-width: 600px) { .page-heading { padding-top: 35px; } .community-grid { margin-bottom: 40px; } }

/* Resources page — duplicate a resource-card article to add another link. */
.resources-intro { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.resource-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 44px; }
.resource-jump a { border: 1px solid var(--line); border-radius: 3px; padding: 6px 13px; font-size: .85rem; text-decoration: none; font-weight: 700; }
.resource-jump a:hover { border-color: var(--red); color: var(--red-dark); }
.resource-section { margin: 0 0 48px; scroll-margin-top: 24px; }
.resource-section h2 { border-bottom: 3px solid var(--red); padding-bottom: 9px; margin: 0 0 9px; font-size: 1.45rem; }
.resource-section > p { color: var(--gray); margin: 0 0 19px; }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.resource-card { border: 1px solid var(--line); background: var(--white); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.resource-card h3 { margin: 0 0 9px; line-height: 1.35; font-size: 1.15rem; }
.resource-card p { margin: 0 0 18px; }
.resource-card .resource-link { margin-top: auto; color: var(--red-dark); font-weight: 700; text-underline-offset: 3px; }
.resource-note { border-left: 4px solid var(--red); background: var(--soft); padding: 16px 20px; margin: 20px 0 35px; }
.resource-note p { margin: 0 0 8px; }
.resource-note p:last-child { margin-bottom: 0; }
.resources-end { text-align: center; margin: 15px 0 70px; font-weight: 700; }
@media (max-width: 600px) { .resource-jump { margin-bottom: 30px; } .resource-section { margin-bottom: 35px; } .resources-end { margin-bottom: 40px; } }
