.activity-page.page-wrapper { padding-top: 0; }
.activity-page > .row { margin: 0; }
.activity-page > .row > .col-md-12 { padding: 0; }
.activity-hero {
  min-height: 235px;
  padding: 30px 20px 34px;
  text-align: center;
  background: linear-gradient(90deg, #eaf4ff40, #eaf4ffd9 35%, #eaf4ffe6 65%, #eaf4ff40), url('/images/hero-spring.jpg') center 44% / cover;
  color: #172e5e;
}
.activity-eyebrow {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 14px;
  background: #ffffffde;
  border: 1px solid #fff;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
}
.activity-eyebrow i { color: #fa4487; }
.activity-hero h1 {
  font-family: 'Caveat', cursive;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  margin: 13px 0 20px;
  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.activity-hero h1::after {
  content: '';
  position: absolute;
  width: 65%;
  height: 5px;
  left: 18%;
  bottom: -6px;
  background: #fa4487;
  border-radius: 50%;
  transform: rotate(-2deg);
}
.activity-hero > p { margin: 0; font-size: 14px; }
.activity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 36px;
}
.activity-feed { min-width: 0; scroll-margin-top: 80px; }
.activity-filters {
  display: flex;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 13px;
  flex-wrap: wrap;
}
.activity-filters a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 8px;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  border-radius: 8px;
  color: var(--muted);
}
.activity-filters a:hover { background: var(--page); color: var(--ink); }
.activity-filters a[aria-current] { background: #fff0f6; color: #d82e70; }
.activity-filters a > span { background: var(--page); border-radius: 5px; padding: 1px 6px; font-size: 10px; }
.activity-filters a[aria-current] > span { background: #fbdce9; }
.activity-feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 2px 13px; }
.activity-feed-heading h2 { margin: 0; font-size: 15px; font-weight: 800; }
.activity-feed-heading > span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.activity-feed-heading > span i { margin-right: 5px; }
.activity-entry {
  padding: 19px 22px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  margin-bottom: 13px;
  box-shadow: 0 3px 8px #23476903;
}
.activity-entry-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.activity-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; font-size: 10px; font-weight: 800; background: #eef3ff; color: #5077cc; }
.activity-rating .activity-badge { background: #fff0f6; color: #d5427d; }
.activity-school .activity-badge { background: #ebf7f3; color: #328b75; }
.activity-entry time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.activity-entry time i { margin-right: 4px; }
.activity-profile-row { display: flex; align-items: center; gap: 15px; justify-content: space-between; }
.activity-profile { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); }
.activity-profile > div { min-width: 0; }
.activity-avatar { width: 45px; height: 45px; border-radius: 50%; flex-shrink: 0; object-fit: cover; background: var(--page); }
.activity-school-image { width: 64px; border-radius: 8px; }
.activity-profile h2 { font-size: 14px; font-weight: 800; margin: 0 0 4px; overflow-wrap: anywhere; line-height: 1.4; }
.activity-profile p { font-size: 11px; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.activity-score { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; flex-shrink: 0; }
.activity-score > span:first-child { color: #ffad26; letter-spacing: 1px; }
.activity-score .empty-star { color: #d5deea; }
.activity-score .score-scale { color: var(--muted); font-size: 10px; }
.activity-review { margin: 16px 0; padding: 0 0 0 13px; border-left: 3px solid #f9cddd; }
.activity-review p { font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.activity-entry-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.activity-entry-bottom > a { font-size: 11px; font-weight: 800; white-space: nowrap; }
.activity-entry-bottom > a i { margin-left: 6px; }
.activity-author { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
.activity-subject { background: var(--page); padding: 3px 7px; border-radius: 5px; margin-left: 4px; }
.activity-added { font-size: 11px; color: var(--muted); }
.activity-sidebar { display: grid; gap: 17px; }
.activity-invitation { background: linear-gradient(135deg, #fff0f6, #f8faff); padding: 26px 23px; border: 1px solid #f4e1ec; border-radius: 13px; text-align: center; }
.invitation-icon { display: inline-grid; place-items: center; width: 49px; height: 49px; border-radius: 16px; background: #fff; color: #ed4884; font-size: 25px; transform: rotate(-6deg); }
.activity-invitation h2 { font-family: 'Caveat', cursive; font-size: 32px; font-weight: 700; margin: 16px 0 11px; }
.activity-invitation p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-bottom: 20px; }
.activity-invitation .btn { width: 100%; font-size: 12px; font-weight: 800; border-radius: 9px; padding: 12px; }
.activity-invitation .btn i { margin-right: 7px; }
.activity-invitation small { display: block; color: var(--muted); font-size: 10px; margin-top: 15px; }
.activity-discover { background: var(--surface); padding: 19px 20px 8px; border: 1px solid var(--line); border-radius: 13px; }
.activity-discover h2 { font-size: 14px; font-weight: 800; margin: 0 0 5px; }
.activity-discover h2 i { color: var(--blue); margin-right: 7px; }
.activity-discover > a { display: flex; align-items: center; gap: 12px; padding: 16px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.activity-discover > a:last-child { border: 0; }
.discover-icon { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 35px; border-radius: 10px; color: var(--blue); background: var(--page); font-size: 16px; }
.activity-discover strong { display: block; font-size: 12px; font-weight: 800; }
.activity-discover small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.activity-discover > a > i { margin-left: auto; font-size: 11px; color: var(--muted); }
.activity-kindness { text-align: center; color: var(--muted); padding: 5px 12px; font-size: 11px; line-height: 1.8; }
.activity-kindness > i { font-size: 20px; color: #e994b1; }
.activity-kindness p { margin: 7px 0 0; }
.activity-empty { text-align: center; padding: 58px 26px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.activity-empty > span { display: inline-grid; place-items: center; width: 75px; height: 75px; border-radius: 24px; background: #fff0f6; color: #ec6193; font-size: 34px; margin-bottom: 23px; }
.activity-empty h2 { font-size: 21px; font-weight: 800; line-height: 1.5; }
.activity-empty p { max-width: 340px; margin: 12px auto 24px; line-height: 1.8; font-size: 13px; color: var(--muted); }
.activity-empty .btn { border-radius: 9px; padding: 12px 22px; font-size: 12px; font-weight: 800; }
.activity-empty .btn i { margin-right: 7px; }
.activity-reset { display: block; margin-top: 20px; font-size: 12px; }
.activity-pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; color: var(--muted); font-size: 11px; padding: 7px 2px; }
.activity-pagination nav { display: flex; gap: 15px; align-items: center; }
.activity-pagination a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
:root[data-theme=dark] .activity-invitation { background: linear-gradient(135deg, #33283f, #1b2a43); border-color: var(--line); }
:root[data-theme=dark] .invitation-icon { background: #493048; color: #ff8bb7; }
:root[data-theme=dark] .activity-filters a[aria-current],
:root[data-theme=dark] .activity-rating .activity-badge,
:root[data-theme=dark] .activity-empty > span { background: #422b43; color: #ffa0c4; }
:root[data-theme=dark] .activity-filters a[aria-current] > span { background: #653850; }
:root[data-theme=dark] .activity-badge { background: #243858; color: #aac8ff; }
:root[data-theme=dark] .activity-school .activity-badge { background: #203c3a; color: #95d5c4; }
:root[data-theme=dark] .activity-review { border-color: #77415d; }
@media (max-width: 1000px) {
  .activity-layout { grid-template-columns: minmax(0, 1fr) 265px; gap: 18px; padding: 22px 18px; }
  .activity-filters a { padding: 10px 8px; gap: 6px; }
  .activity-filters a > i { display: none; }
  .activity-profile-row { flex-wrap: wrap; }
  .activity-score { margin-left: 57px; }
}
@media (max-width: 767px) {
  .activity-hero { min-height: 210px; padding: 25px 18px; background-position: 35% center; }
  .activity-hero h1 { font-size: 49px; }
  .activity-hero > p { font-size: 12px; max-width: 310px; margin: 0 auto; line-height: 1.7; }
  .activity-layout { grid-template-columns: minmax(0, 1fr); padding: 18px 14px; gap: 24px; }
  .activity-filters { gap: 2px; }
  .activity-filters a { gap: 5px; padding: 10px 6px; font-size: 11px; }
  .activity-filters a > span { font-size: 9px; padding: 1px 4px; }
  .activity-entry { padding: 16px; }
  .activity-feed-heading { margin-top: 20px; }
  .activity-feed-heading h2 { font-size: 14px; }
  .activity-feed-heading > span { font-size: 10px; }
  .activity-review p { font-size: 13px; }
  .activity-empty { padding: 40px 20px; }
  .activity-empty h2 { font-size: 19px; }
  .activity-sidebar { grid-template-columns: 1fr; }
  .activity-kindness { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .activity-hero h1 { font-size: 42px; }
  .activity-filters a { gap: 4px; padding: 10px 4px; font-size: 10px; }
  .activity-entry time { font-size: 10px; }
}
