* { box-sizing: border-box; }
body.activities-page { margin: 0; background: #f5f8fa; color: #20303f; font-family: "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
.activities-hero { padding: 30px max(24px, calc((100% - 1120px) / 2)) 92px; color: #fff; background: radial-gradient(ellipse at 95% 0%, #38725b66, transparent 55%), linear-gradient(135deg, #102f4f 0%, #286090 58%, #26543a 100%); }
.back-link { display: inline-block; font-size: .88rem; color: #dbe9ef; text-decoration: none; padding: 8px 0; }
.back-link:hover { color: white; text-decoration: underline; }
.eyebrow { margin: 0 0 8px; font-size: .73rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; color: #3d7655; }
.activities-hero .eyebrow { color: #b8dec8; margin-top: 38px; }
.activities-hero h1 { margin: 12px auto 20px; max-width: 1120px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3.2vw, 2.75rem); font-weight: 700; line-height: 1.2; text-align: center; white-space: normal; text-wrap: wrap; }
.activities-hero > p:last-child { max-width: 640px; color: #dbe7ee; font-size: 1.04rem; margin: 0; }
.activities-content { width: min(1120px, calc(100% - 48px)); margin: -34px auto 0; position: relative; }
.registration-note { display: flex; gap: 16px; align-items: center; padding: 22px 26px; background: white; border: 1px solid #dce7ec; border-radius: 16px; box-shadow: 0 8px 28px #102f4f0b; }
.note-icon { flex: 0 0 34px; height: 34px; display: grid; place-items: center; background: #eaf3f8; border-radius: 50%; color: #174a73; font-weight: 700; }
.registration-note p { margin: 0; font-size: .92rem; color: #5a6c79; }
.registration-note strong { color: #20303f; }
.registration-note a { color: #174a73; font-weight: 700; white-space: nowrap; }
.activity-group { margin-top: 46px; }
.group-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.group-heading h2 { margin: 0; color: #102f4f; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; line-height: 1.2; }
.group-heading > span { color: #667885; font-size: .85rem; padding-bottom: 4px; }
.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.activity-card { min-width: 0; overflow: hidden; padding: 28px; background: white; border: 1px solid #dde7ec; border-top: 3px solid #286090; border-radius: 14px; box-shadow: 0 5px 18px #102f4f05; transition: box-shadow .2s, border-color .2s; }
.activity-card:hover { border-color: #9cbccd; box-shadow: 0 10px 28px #102f4f10; }
.activity-card > div { display: flex; flex-direction: column; height: 100%; }
.activity-tag { align-self: flex-start; margin: 0 0 20px; padding: 4px 10px; background: #eaf3f8; border-radius: 6px; color: #286090; font-size: .72rem; font-weight: 700; }
.activity-card h2 { margin: 0 0 28px; color: #173e5d; font-size: 1.22rem; line-height: 1.48; font-weight: 650; overflow-wrap: break-word; }
.activity-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; margin-top: auto; color: white; background: #174a73; border-radius: 8px; font-size: .88rem; font-weight: 650; text-decoration: none; transition: background .2s; }
.activity-button span { font-size: 1.2rem; }
.activity-button:hover { background: #102f4f; }
.activity-group--workshops .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.activity-group--workshops .activity-card { border-top-color: #3d7655; }
.activity-group--workshops .activity-tag { color: #26543a; background: #edf5f0; }
.activity-group--workshops .activity-button { background: #26543a; }
.activity-group--workshops .activity-button:hover { background: #183d28; }
a:focus-visible { outline: 3px solid #5c9fc7; outline-offset: 4px; }
.page-footnote { margin: 22px 0 40px; color: #687986; font-size: .8rem; text-align: center; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #dce7ec; padding: 24px 0 30px; color: #687986; font-size: .82rem; }
@media (max-width: 900px) { .activity-grid { grid-template-columns: 1fr; } .activity-card { padding: 24px; } }
@media (max-width: 600px) {
  .activities-hero { padding: 20px 22px 68px; }
  .activities-hero .eyebrow { margin-top: 28px; }
  .activities-content { width: calc(100% - 32px); margin-top: -26px; }
  .registration-note { padding: 18px; gap: 12px; align-items: flex-start; }
  .registration-note a { white-space: normal; }
  .activity-group { margin-top: 32px; }
  .activity-group--workshops .activity-grid { grid-template-columns: 1fr; }
  .page-footer { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .activity-card, .activity-button { transition: none; } }


.activities-hero .eyebrow { text-align: center; }
.activities-hero > p:last-child { margin: 0 auto; text-align: center; }
