:root {
  --ink: #17231f;
  --muted: #62706b;
  --paper: #f5f3ed;
  --card: #fffefa;
  --accent: #0c6b4f;
  --line: #dcded8;
  --desktop-header-height: 4.5rem;
  --category-menu-height: 3rem;
  --feed-gap: clamp(2rem, 4vw, 4rem);
}
* { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.6 "Roboto", system-ui, sans-serif;
}
.page { flex: 1 0 auto; }
a { color: var(--accent); }
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-header-inner {
  width: min(1500px, 95vw);
  min-height: var(--desktop-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .75rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  font: 800 1.45rem/1.2 "Roboto", sans-serif;
  text-decoration: none;
}
.brand img { display: block; width: 1.85rem; height: 1.85rem; flex: 0 0 auto; }
.header-search {
  position: relative;
  flex: 1 1 420px;
  max-width: 560px;
}
.header-search svg {
  position: absolute;
  top: 50%;
  left: .8rem;
  width: 1rem;
  height: 1rem;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}
.header-search input {
  width: 100%;
  height: 2.55rem;
  padding: .55rem .85rem .55rem 2.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #f8f8f5;
  font: 400 .85rem/1 "Roboto", sans-serif;
  outline: 0;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.header-search input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(12, 107, 79, .12);
}
.header-search input::placeholder { color: #7b8782; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
nav { display: flex; gap: 1rem; align-items: center; }
.account-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.account-icon-link i,
.account-icon-link svg { display: flex; width: 1.05rem; height: 1.05rem; line-height: 1; }
.account-icon-link:hover { color: var(--accent); border-color: var(--accent); }
.account-icon-link.is-primary { color: #fff; border-color: var(--accent); background: var(--accent); }
.account-icon-link.is-primary:hover { color: #fff; background: #08563f; }
.account-icon-button {
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.saved-icon-link { color: #b4232d; }
.account-icon-badge {
  position: absolute;
  top: -.28rem;
  right: -.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 .2rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #b4232d;
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  line-height: 1;
}
.news-update-status {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 2.45rem;
  color: var(--muted);
  font: 600 .68rem/1 "Roboto", sans-serif;
  white-space: nowrap;
}
.news-update-status-dot {
  width: .46rem;
  height: .46rem;
  flex: 0 0 .46rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(12, 107, 79, .1);
}
.news-update-status-dot.is-running {
  animation: update-status-pulse 1.15s ease-in-out infinite;
}
.news-update-status-icon { display: none; }
.news-update-status-time { display: none; }
@keyframes update-status-pulse {
  0%, 100% { opacity: .38; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes update-status-spin {
  to { transform: rotate(360deg); }
}
.category-menu {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.category-menu-inner {
  width: min(1500px, 95vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.2vw, 2rem);
  min-height: var(--category-menu-height);
  overflow-x: auto;
  scrollbar-width: none;
}
.category-menu-inner::-webkit-scrollbar { display: none; }
.category-menu a {
  flex: 0 0 auto;
  padding: .8rem 0 .7rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.category-menu a:hover,
.category-menu a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.category-menu .events-navigation-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-bottom: .5rem;
  border-bottom-color: transparent;
  color: var(--ink);
  font-weight: 800;
}
.events-navigation-label {
  padding: .8rem 0 .7rem;
  margin: -.8rem 0 -.7rem;
  border-bottom: 2px solid transparent;
}
.events-navigation-link:hover,
.events-navigation-link[aria-current="page"] { border-bottom-color: transparent !important; }
.events-navigation-link:hover .events-navigation-label,
.events-navigation-link[aria-current="page"] .events-navigation-label {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.menu-live-dot {
  display: block;
  position: relative;
  top: -.1rem;
  flex: 0 0 auto;
  margin: .35rem .2rem;
  animation: menu-live-pulse 1.55s ease-in-out infinite;
}
@keyframes menu-live-pulse {
  0%, 100% {
    opacity: .55;
    box-shadow: 0 0 0 2px rgba(214, 59, 59, .12);
    transform: scale(.82);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(214, 59, 59, .2);
    transform: scale(1);
  }
}
.page { width: min(1500px, 95vw); margin: 0 auto; padding: 3rem 0 5rem; }
.intro { max-width: 680px; margin-bottom: 2.5rem; }
.intro h1 { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.08; }
h1, h2 { font-family: "Roboto", sans-serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin: .2rem 0 1rem; }
h2 { font-size: 1.7rem; margin: .5rem 0 1rem; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.story, .panel, .empty {
  padding: clamp(1.2rem, 4vw, 2.2rem);
  margin-bottom: 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.feed > .empty {
  grid-column: 1 / -1;
  width: 100%;
}
.empty a {
  color: var(--accent);
  font-weight: 700;
}
.story { display: flex; flex-direction: column; }
.story-event-link {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin: 1rem 0 .7rem;
  padding: .55rem .7rem;
  border-radius: 8px;
  color: #08563f;
  background: #eaf4ef;
  font-size: .72rem;
  line-height: 1.35;
  text-decoration: none;
}
.story-event-link svg { width: .9rem; height: .9rem; flex: 0 0 auto; margin-top: .05rem; }
.story-event-link:hover strong { text-decoration: underline; }
.story-image {
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 9px;
  background: #e8ebe8;
}
.story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.story-image:hover img { transform: scale(1.025); }
.story-meta {
  display: flex;
  justify-content: flex-start;
  gap: .3rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
}
.story-meta-separator { color: #9aa49f; }
.story h2 {
  margin: .8rem 0;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.3;
}
.lead { margin: 0 0 1.2rem; font-size: .94rem; font-weight: 400; line-height: 1.5; }
.story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.story-tags { display: flex; gap: .35rem; min-width: 0; flex-wrap: wrap; }
.story-tags span,
.story-tags a {
  padding: .15rem .45rem;
  border-radius: 999px;
  color: var(--accent);
  background: #e5f0ec;
  font-size: .7rem;
  font-weight: 600;
  text-decoration: none;
}
.story-tags a:hover { color: var(--ink); }
.story-meta a { color: inherit; }
.story-meta a:hover { color: var(--ink); }
.recommendation-reason {
  margin: .65rem 0 -.25rem;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 600;
}
.personal-feed-toolbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  margin-bottom: 1rem;
  background: var(--paper);
}
.personal-feed-toolbar nav {
  gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.personal-feed-toolbar a {
  padding: .45rem .75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}
.personal-feed-toolbar a[aria-current="page"] { color: #fff; background: var(--accent); }
.personal-feed-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}
.new-articles-pill {
  padding: .4rem .65rem;
  border-radius: 999px;
  color: var(--accent);
  background: #e7f2ed;
  font-size: .68rem;
  font-weight: 700;
}
.guest-feed-toolbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  margin-bottom: 1rem;
  background: var(--paper);
}
.guest-feed-toolbar .eyebrow {
  margin: 0;
  font-size: .7rem;
  line-height: 1;
}
.feed-image-toggle {
  position: relative;
  display: inline-flex;
  gap: .2rem;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.feed-image-toggle-button {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.feed-image-toggle-button:hover { color: var(--accent); }
.feed-image-toggle-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.feed-image-toggle-button.is-active { color: #fff; background: var(--accent); }
.feed-image-toggle-button svg { width: 1rem; height: 1rem; }
.feed-display-tooltip {
  position: absolute;
  z-index: 1000;
  top: 50%;
  right: calc(100% + .8rem);
  display: flex;
  align-items: center;
  gap: .75rem;
  width: max-content;
  max-width: none;
  padding: .85rem;
  border: 1px solid #b9cdc3;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 49, 39, .2);
  transform: translateY(-50%);
  font-size: .76rem;
  line-height: 1.45;
}
.feed-display-tooltip[hidden] { display: none; }
.feed-display-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -.45rem;
  width: .75rem;
  height: .75rem;
  border-top: 1px solid #b9cdc3;
  border-right: 1px solid #b9cdc3;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}
.feed-display-tooltip p { margin: 0; white-space: nowrap; }
.feed-display-tooltip a,
.personal-feed-toolbar .feed-display-tooltip a {
  padding: 0;
  border-radius: 0;
  color: var(--accent);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: .12em;
}
.feed-display-tooltip button {
  flex: 0 0 auto;
  padding: .38rem .65rem;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.feed--compact .story { padding: 1rem 1.1rem; }
.feed--compact .story-image,
.feed--compact .lead { display: none; }
.feed--compact .story h2 { margin: .55rem 0; font-size: .98rem; }
.feed--compact .story-footer { padding-top: .65rem; }
.action-toast {
  position: fixed;
  z-index: 100;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  color: #fff;
  background: #202624;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
  font-size: .76rem;
}
.action-toast[hidden] { display: none; }
.action-toast button { padding: 0; border: 0; color: #8fdbc2; background: transparent; font-weight: 800; }

.archive-heading { max-width: 760px; margin: 1.5rem 0 2rem; }
.archive-heading h1 {
  margin: .45rem 0 .65rem;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
}
.archive-heading p { color: var(--muted); line-height: 1.65; }
.archive-count {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
}
.breadcrumbs { display: flex; gap: .45rem; color: var(--muted); font-size: .75rem; font-weight: 500; justify-content: flex-start; }
.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 2rem;
  align-items: start;
}
.archive-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}
.archive-feed .story { height: 100%; margin-bottom: 0; }
.archive-day-section { grid-column: 1 / -1; min-width: 0; }
.archive-day-grid .story { height: 100%; margin-bottom: 0; }
.archive-day-grid > .empty { grid-column: 1 / -1; width: 100%; }
.archive-day-empty {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.archive-day-empty h2 { margin: 0; }
.story--archive-card { min-height: 250px; padding: 1.5rem; overflow: hidden; }
.story--archive-card .story-image {
  margin: -1.5rem -1.5rem 1.15rem;
  border-radius: 0;
}
.story--archive-card-previous {
  min-height: 220px;
  background: #efefeb;
  border-color: #d5d7d2;
}
.archive-feed .event-list {
  grid-column: 1 / -1;
  min-width: 0;
  margin-bottom: .8rem;
}
.archive-feed .event-list > h2 { margin: 0 0 1rem; }
.archive-navigation {
  position: sticky;
  top: calc(var(--desktop-header-height) + var(--category-menu-height) + 1rem);
  display: grid;
  gap: 1.25rem;
}
.archive-navigation h2 { margin: 0 0 .55rem; font-size: .82rem; }
.archive-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.archive-links a {
  padding: .35rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
}
.archive-links a:hover { border-color: var(--accent); color: var(--accent); }
.story-actions { display: flex; align-items: center; gap: .25rem; flex: 0 0 auto; }
.story-actions form { display: flex; margin: 0; }
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  text-decoration: none;
}
.icon-button:hover { color: var(--accent); background: #edf3f0; }
.icon-button.is-active { color: white; background: var(--accent); }
.icon-button svg { width: 1.1rem; height: 1.1rem; }
button, .button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .65rem .9rem;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.button { color: white; background: var(--accent); border-color: var(--accent); font-weight: 700; }
.small { padding: .5rem .8rem; }
.inline-form { display: inline; }
.link-button { border: 0; padding: 0; color: var(--accent); background: transparent; }
.narrow { width: min(520px, 100%); margin-inline: auto; }
.auth-panel {
  width: min(460px, 100%);
  padding: clamp(1.5rem, 5vw, 2.25rem);
  font-family: "Roboto", sans-serif;
  font-size: .875rem;
  border-color: #d8ddd9;
  box-shadow: 0 18px 45px rgba(23, 35, 31, .08);
}
.auth-heading { margin-bottom: 1.6rem; }
.auth-panel h1 {
  margin: .15rem 0 .5rem;
  font-family: inherit;
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
}
.auth-panel .eyebrow {
  margin: 0 0 .3rem;
  font-size: .68rem;
  font-weight: 700;
}
.auth-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}
.auth-panel form p { margin: 0 0 1.05rem; }
.auth-panel label {
  display: block;
  margin-bottom: .3rem;
  color: #34433e;
  font-size: .78rem;
  font-weight: 600;
}
.auth-panel input {
  width: 100%;
  min-height: 2.7rem;
  padding: .68rem .75rem;
  border: 1px solid #cfd6d2;
  border-radius: 7px;
  background: #fff;
  font-family: inherit;
  font-size: .85rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-panel input:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(12, 107, 79, .12);
}
.auth-panel .helptext,
.auth-panel form li {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.45;
}
.auth-panel .helptext { display: block; margin-top: .35rem; }
.auth-panel form ul { margin: .4rem 0 0; padding-left: 1.05rem; }
.auth-submit {
  width: 100%;
  margin-top: .25rem;
  font-size: .82rem;
  font-weight: 700;
}
.auth-switch {
  margin: 1.35rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}
.auth-switch a { font-weight: 600; }
.auth-status { text-align: center; }
.auth-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--accent);
  background: #e5f0ec;
}
.auth-status-icon.is-error { color: #a12828; background: #f8e7e7; }
.auth-status-icon svg { width: 1.35rem; height: 1.35rem; }
.auth-button-link { display: block; text-align: center; }
input[type="email"], input[type="password"] {
  display: block; width: 100%; padding: .75rem; border: 1px solid var(--line); border-radius: 7px;
}
.preference-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
fieldset ul { list-style: none; padding: 0; }
.message { padding: .8rem 1rem; margin-bottom: 1rem; border-radius: 8px; background: #dfeee8; }
.feed-message {
  width: 100%;
  margin-left: 0;
}
.errorlist { color: #a12828; }
.saved-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .65rem;
  border-radius: 7px;
  color: white;
  background: #b4232d;
  font-weight: 750;
  text-decoration: none;
}
.saved-link span {
  min-width: 1.5rem;
  padding: .05rem .35rem;
  border-radius: 999px;
  color: #8f1620;
  background: white;
  text-align: center;
  font-size: .82rem;
}
.feed-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: var(--feed-gap);
  align-items: start;
}
.homepage-events {
  margin: 0 0 3rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #cad8d1;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbf9 0%, #eef5f1 100%);
}
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}
.section-heading-row .eyebrow { margin: 0; font-size: .7rem; line-height: 1; }
.section-heading-row h1 { margin: 0; }
.section-all-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.section-all-link svg { width: 1rem; height: 1rem; }
.featured-events-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(135px, auto));
  gap: .75rem;
}
.featured-event-carousel {
  position: relative;
  display: grid;
  grid-column: span 2;
  grid-row: span 2;
  min-width: 0;
  min-height: 0;
}
.featured-event.carousel-slide {
  display: flex;
  grid-area: 1 / 1;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(7%);
  transition:
    transform .42s cubic-bezier(.22, .72, .24, 1),
    opacity .42s ease,
    visibility 0s linear .42s;
}
.featured-event.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}
.featured-event.carousel-slide.is-entering-left {
  visibility: visible;
  transform: translateX(-7%);
  transition: none;
}
.featured-event.carousel-slide.is-entering-right {
  visibility: visible;
  transform: translateX(7%);
  transition: none;
}
.featured-event.carousel-slide.is-leaving-left,
.featured-event.carousel-slide.is-leaving-right {
  z-index: 1;
  visibility: visible;
  pointer-events: none;
}
.featured-event.carousel-slide.is-leaving-left { transform: translateX(-7%); }
.featured-event.carousel-slide.is-leaving-right { transform: translateX(7%); }
.featured-event-carousel > .carousel-controls {
  position: absolute;
  z-index: 20;
  inset: .8rem .8rem auto auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
  width: auto;
  margin: 0;
  transform: none;
}
.carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 25, 21, .48);
  backdrop-filter: blur(5px);
  cursor: pointer;
}
.carousel-controls button:hover { background: rgba(12, 25, 21, .75); }
.carousel-controls svg { width: 1rem; height: 1rem; }
.featured-event,
.event-archive-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(28, 39, 34, .045);
}
.featured-event--lead {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  justify-content: flex-end;
  min-height: 285px;
  padding: 0;
  overflow: hidden;
  background: #153d32;
  color: #fff;
}
.featured-event-image,
.event-archive-image {
  display: block;
  aspect-ratio: 16 / 8.5;
  margin: -1.2rem -1.2rem 1rem;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  background: #dfe7e3;
}
.featured-event--lead .featured-event-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 100%;
  margin: 0;
  border-radius: inherit;
}
.featured-event-image img,
.event-archive-image img,
.event-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-event h2,
.event-archive-card h2,
.event-archive-card h3 { margin: .45rem 0 .65rem; font-size: 1.05rem; }
.featured-event--lead h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.carousel-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  padding: 5rem clamp(1.2rem, 2.4vw, 1.8rem) clamp(1.2rem, 2.4vw, 1.65rem);
  background: linear-gradient(to bottom, transparent 0%, rgba(9, 24, 19, .68) 42%, rgba(9, 24, 19, .96) 100%);
}
.carousel-slide-content h2 { margin: .4rem 0 .7rem; }
.featured-event:not(.featured-event--lead) {
  padding: .85rem .95rem;
  overflow: hidden;
}
.featured-event:not(.featured-event--lead) .featured-event-image {
  aspect-ratio: 16 / 8.5;
  margin: 0;
  border-radius: 11px 11px 0 0;
}
.featured-event:not(.featured-event--lead) h2 {
  margin: 0;
  padding: 0 0 .5rem;
  font-size: .86rem;
  line-height: 1.25;
}
.featured-event:not(.featured-event--lead) footer {
  padding: 0;
  font-size: .58rem;
}
.featured-event h2 a,
.event-archive-card h2 a,
.event-archive-card h3 a { color: inherit; text-decoration: none; }
.featured-event h2 a:hover,
.event-archive-card h2 a:hover,
.event-archive-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.featured-event > p,
.event-archive-card > p { margin: 0 0 1rem; color: var(--muted); font-size: .85rem; }
.featured-event--lead > p { color: #dce9e4; font-size: .95rem; }
.event-status-line {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.featured-event--lead .event-status-line { color: #b9e3d4; }
.live-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #d63b3b;
  box-shadow: 0 0 0 3px rgba(214, 59, 59, .14);
}
.featured-event footer,
.event-archive-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-top: auto;
  color: var(--muted);
  font-size: .68rem;
}
.featured-event--lead footer { color: #c0d5cd; }
.featured-event footer span,
.event-archive-card footer span { display: inline-flex; align-items: center; gap: .3rem; }
.featured-event footer svg,
.event-archive-card footer svg { width: .85rem; height: .85rem; }
.event-archive-card footer form { display: inline-flex; margin: 0; }
.event-card-meta { display: inline-flex; align-items: center; gap: .4rem; min-width: 0; white-space: nowrap; }
.event-card-meta-separator { color: #9aa49f; }
.event-archive-card footer .icon-button svg { width: 1.1rem; height: 1.1rem; }
.events-archive-heading { max-width: 820px; }
.events-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 2rem;
  align-items: start;
}
.events-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.events-archive-content { min-width: 0; }
.events-day-section { margin-top: 3rem; }
.events-day-toolbar {
  top: 0;
  margin-bottom: 1.25rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.events-day-toolbar h2 {
  margin: 0;
  font-size: .9rem;
  font-weight: 800;
}
.event-archive-card--previous {
  min-height: 220px;
  background: #efefeb;
  border-color: #d5d7d2;
}
.event-archive-card--previous h2, .event-archive-card--previous h3 { font-size: 1.05rem; }
.event-archive-card { min-height: 250px; padding: 1.5rem; }
.event-archive-image { margin: -1.5rem -1.5rem 1.15rem; }
.event-archive-card h2, .event-archive-card h3 { font-size: 1.22rem; }
.event-hero-image {
  max-height: 520px;
  aspect-ratio: 16 / 7;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  background: #dfe7e3;
}
.event-hero-media {
  position: relative;
  margin-bottom: 1.5rem;
}
.event-hero-media .event-hero-image { margin-bottom: 0; }
.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) 390px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.event-page { min-width: 0; }
.event-detail-heading { max-width: 850px; margin-top: 0; }
.event-detail-meta {
  margin-bottom: 0;
  font-size: .72rem;
  line-height: 1.5 !important;
}
.event-share-button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .85rem;
  padding: .48rem .72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: var(--card);
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}
.event-share-button:hover { border-color: var(--accent); background: #e7f2ed; }
.event-detail-actions { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; }
.event-save-form { display: inline-flex; margin: 0; }
.event-save-action, .event-save-action:hover { text-decoration: none; }
.event-save-action:hover, .event-save-action.is-active { background: #e7f2ed; border-color: var(--accent); }
.saved-content-section { margin-bottom: 2rem; }
.saved-content-section > h2 { margin: 0 0 1rem; }
.event-share-button svg { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.event-detail-actions--overlay {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  right: 1rem;
}
.event-detail-actions--overlay .event-share-button {
  margin: 0;
  border-color: rgba(255, 255, 255, .75);
  color: #17352c;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
  backdrop-filter: blur(8px);
}
.event-detail-actions--overlay .event-share-button:hover,
.event-detail-actions--overlay .event-save-action.is-active { color: var(--accent); background: #fff; }
.share-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.share-modal[hidden] { display: none; }
.share-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 20, 16, .54);
  backdrop-filter: blur(3px);
  cursor: default;
}
.share-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}
.share-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.share-modal-header h2 { margin: .2rem 0 0; font-size: 1.25rem; }
.share-modal-close {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.share-modal-close svg { width: 1.2rem; height: 1.2rem; stroke-width: 2; }
.share-modal-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.share-modal-option {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem .35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  font: 700 .72rem/1.2 "Roboto", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.share-modal-option:hover { border-color: var(--line); color: var(--accent); background: #eef6f2; }
.share-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 3.15rem;
  box-sizing: border-box;
  padding: 0;
  border-radius: 50%;
  color: var(--accent);
  background: #e4f1eb;
  line-height: 0;
}
.share-option-icon svg { display: block; width: 1.5rem; height: 1.5rem; margin: 0; stroke-width: 1.9; }
body.has-share-modal { overflow: hidden; }
@media (max-width: 520px) {
  .share-modal {
    align-items: end;
    padding: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .share-modal-dialog { width: 100%; padding: 1.25rem; border-radius: 18px; }
  .share-modal-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.event-summary { margin: 0 0 2rem; font-size: 1rem; line-height: 1.75; }
.event-summary > p:first-child::first-letter {
  float: left;
  margin: .5rem .2rem 0 0;
  color: var(--accent);
  font-family: "Roboto", sans-serif;
  font-size: 3.4em;
  font-weight: 800;
  line-height: .78;
}
.event-content-section { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.event-section-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  font-size: 1.15rem;
}
.event-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  box-sizing: border-box;
  border: 1px solid #cfe2d9;
  border-radius: 11px;
  color: var(--accent);
  background: #e8f3ee;
  line-height: 0;
}
.event-section-icon svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  color: inherit;
  stroke-width: 1.9;
}
.event-content-section ul,
.event-content-section ol { margin: 0; padding-left: 1.25rem; }
.event-content-section li { margin-bottom: .65rem; }
.event-original-list { display: grid; gap: 0; padding: 0 !important; list-style: none; }
.event-original-list li {
  display: grid;
  gap: .2rem;
  padding: .8rem 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.event-original-list li:first-child { border-top: 0; }
.event-original-list a { color: var(--ink); font-size: .85rem; font-weight: 700; text-decoration: none; }
.event-original-list a svg {
  display: inline-block;
  width: .9rem;
  height: .9rem;
  margin-left: .2rem;
  vertical-align: -.12rem;
  stroke-width: 2;
}
.event-original-list a:hover { color: var(--accent); text-decoration: underline; }
.event-original-list span { color: var(--muted); font-size: .66rem; }
.event-content-section.event-original-reports {
  margin-top: 1.25rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(28, 39, 34, .04);
}
.event-source-sidebar {
  position: sticky;
  top: calc(var(--desktop-header-height) + var(--category-menu-height) + 1rem);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.event-source-sidebar .event-section-title { font-size: .9rem; }
.event-source-list { display: grid; }
.event-source-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
}
.event-source-card:first-child { padding-top: .2rem; border-top: 0; }
.event-source-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: #e2e8e5;
}
.event-source-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-source-card--no-image { grid-template-columns: 1fr; }
.event-source-title {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.event-source-title:hover { color: var(--accent); text-decoration: underline; }
.event-related-empty { margin: 0; font-size: .72rem; line-height: 1.5; }
.event-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(760px, 86%);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.event-pagination-link {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  padding: .5rem 0;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
}
.event-pagination-link:hover { color: var(--accent); }
.event-pagination-link > svg {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  box-sizing: border-box;
  padding: .5rem;
  border-radius: 50%;
  color: var(--accent);
  background: #e8f3ee;
  stroke-width: 2;
}
.event-pagination-link > span { display: grid; min-width: 0; gap: .2rem; }
.event-pagination-link small { color: var(--muted); font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.event-pagination-link strong { overflow: hidden; font-size: .78rem; line-height: 1.35; text-overflow: ellipsis; }
.event-pagination-link--next { justify-content: flex-end; text-align: right; }
.events-empty { grid-column: 1 / -1; margin: 0; padding: 0; text-align: left; }
.events-empty h2 { margin: 0; }
.pagination { justify-content: center; margin-top: 2rem; }
.pagination a, .pagination span {
  padding: .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  text-decoration: none;
}
.feed-column {
  grid-column: 2;
  min-width: 0;
}
.feed-column > .feed,
.secondary-feed,
.saved-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}
.feed-column > .feed .story,
.secondary-feed .story,
.saved-feed .story { height: 100%; margin-bottom: 0; }
.desktop-filters {
  position: sticky;
  top: calc(var(--desktop-header-height) + var(--category-menu-height) + 3rem);
  width: 100%;
  height: calc(100vh - var(--desktop-header-height) - var(--category-menu-height) - 4.5rem);
  max-height: none;
  padding: 1.2rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: "Roboto", sans-serif;
}
.desktop-filters h2 { margin-top: 0; }
.filters-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 1rem;
}
.desktop-filters .filters-form {
  height: 100%;
  max-height: none;
}
.filters-scroll {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: .35rem;
  min-height: 0;
  overflow-y: auto;
  padding: .35rem .35rem .35rem 0;
  scrollbar-gutter: stable;
}
.filter-section { display: grid; gap: 0; }
.filter-section h3 {
  margin: 0 0 .35rem;
  color: var(--muted);
  font: 700 .78rem/1.2 "Roboto", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.category-filter {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 .25rem .5rem 0;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .3rem 0;
  cursor: pointer;
  line-height: 1.35;
}
.check-row input[type="checkbox"] {
  position: relative;
  flex: 0 0 auto;
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: .18rem .1rem 0 0;
  border: 2px solid #aeb9b4;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.check-row input[type="checkbox"]:hover {
  border-color: var(--accent);
  background: #f2f8f5;
}
.check-row input[type="checkbox"]:checked {
  border-color: #79aa99;
  background: #e7f2ed;
}
.check-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: -.32rem;
  left: .2rem;
  width: .48rem;
  height: .88rem;
  border: solid var(--accent);
  border-width: 0 3px 3px 0;
  filter: drop-shadow(0 1px 0 #fff);
  transform: rotate(45deg);
}
.check-row input[type="checkbox"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(12, 107, 79, .18);
}
.category-check { margin: 0; font-weight: 750; }
.filters-submit {
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  box-shadow: 0 -8px 18px var(--card);
  bottom: 0;
  position: relative;
}
.muted { color: var(--muted); }
.mobile-filter-trigger, .mobile-filter-drawer, .filter-overlay { display: none; }
.saved-intro { margin-inline: auto; text-align: center; }
.account-dashboard {
  width: min(900px, 100%);
  margin: 2.5rem auto 0;
}
.account-dashboard-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}
.account-dashboard-heading h1 { margin: .35rem 0; }
.account-dashboard-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
}
.account-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.account-menu-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 150px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 8px 28px rgba(28, 39, 34, .06);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.account-menu-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(28, 39, 34, .1);
  transform: translateY(-2px);
}
.account-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--accent);
  background: #e7f2ed;
}
.account-menu-icon svg { width: 1.15rem; height: 1.15rem; }
.account-menu-copy strong { display: block; margin-bottom: .35rem; font-size: 1rem; }
.account-menu-copy small {
  display: block;
  margin-bottom: .75rem;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
}
.account-menu-copy > span { color: var(--muted); font-size: .76rem; }
.account-menu-arrow { width: 1rem; height: 1rem; color: var(--muted); }
.account-menu-card--saved .account-menu-icon {
  color: #b4232d;
  background: #f9e8ea;
}
.account-menu-card--password .account-menu-icon {
  color: #315fa8;
  background: #eaf1fb;
}
.account-menu-card--danger .account-menu-icon {
  color: #a12828;
  background: #faeaea;
}
.account-menu-card--danger:hover { border-color: #b4232d; }
.display-mode-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.display-mode-panel strong,
.display-mode-panel span { display: block; }
.display-mode-panel span { margin-top: .2rem; color: var(--muted); font-size: .72rem; }
.display-mode-panel form { display: flex; gap: .35rem; }
.display-mode-panel button { padding: .45rem .7rem; font-size: .7rem; }
.display-mode-panel button.is-active { color: #fff; border-color: var(--accent); background: var(--accent); }
.preference-group + .preference-group { margin-top: 0; }
.preference-group summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 2.8rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
  line-height: 1.2;
  font-size: .76rem;
  font-weight: 750;
  cursor: pointer;
}
.preference-group summary > span {
  align-self: center;
  line-height: 1.2;
}
.preference-group summary::-webkit-details-marker { display: none; }
.preference-group summary > input {
  position: relative;
  align-self: center;
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  border: 1px solid #aab5b0;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}
.preference-group summary > input:checked {
  border-color: var(--accent);
  background: #e7f2ed;
}
.preference-group summary > input:checked::after {
  content: "";
  position: absolute;
  top: -.2rem;
  left: .22rem;
  width: .38rem;
  height: .7rem;
  border: solid var(--accent);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.preference-group summary svg {
    display: block;
    align-self: center;
    width: .7rem;
    height: .7rem;
    color: var(--muted);
    transition: transform .18s ease;
    margin-right: .2rem;
    margin-bottom: 1px;
}
.preference-group[open] summary svg { transform: rotate(180deg); }
.preference-group-options { padding: .25rem 0 .8rem 1.65rem; }
.preference-group small { color: var(--muted); font-size: .62rem; }
.preference-group--blocked summary { color: #9f2f38; }
.followed-terms-editor { display: grid; gap: .55rem; }
.followed-term-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.followed-term-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  max-width: 100%;
  padding: .28rem .35rem .28rem .55rem;
  border: 1px solid #bcd5ca;
  border-radius: 999px;
  color: var(--accent);
  background: #edf6f2;
  font-size: .68rem;
  font-weight: 700;
}
.followed-term-pill > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.followed-term-pill button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--accent);
  background: transparent;
  font-size: .9rem;
  line-height: 1;
}
.followed-term-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem;
  gap: .35rem;
}
.followed-term-entry input {
  min-width: 0;
  padding: .5rem .6rem;
  border: 1px solid #cbd5d0;
  border-radius: 7px;
  font: 500 .7rem/1.2 "Roboto", sans-serif;
}
.followed-term-entry input:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(12, 107, 79, .12);
}
.followed-term-entry button {
  padding: 0;
  border-color: var(--accent);
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
  font-size: 1rem;
}
.followed-terms-editor .errorlist {
  margin: 0;
  padding: 0;
  color: #a12828;
  list-style: none;
  font-size: .66rem;
}
.public-source-filter { align-content: start; }
.guest-account-feature { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.guest-account-feature.preference-group { padding: 0; }
.guest-filter-section summary { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.guest-filter-section summary > span { min-width: 0; white-space: nowrap; }
.guest-filter-section summary > svg { grid-column: 4; justify-self: end; }
.guest-filter-section .free-account-badge { grid-column: 3; justify-self: end; width: max-content; }
.free-account-badge {
  display: inline-flex;
  align-items: center;
  gap: .10rem;
  min-height: 1.7rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  color: #7b4d00;
  background: #fff0c7;
  font-size: .6rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}
.free-account-badge svg { width: .7rem; height: .7rem; fill: currentColor; }
.guest-locked-action { display: flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--muted); font-size: .7rem; }
.guest-locked-action svg { width: .9rem; height: .9rem; }
.guest-term-add { display: grid; min-height: 44px; place-items: center; border-radius: 7px; color: #fff; background: var(--accent); font-weight: 800; text-decoration: none; }
.guest-conversion-card { display: grid; gap: .55rem; margin-top: .4rem; padding: .85rem; border-radius: 10px; background: #edf5f1; text-align: center; }
.guest-conversion-card h3 { margin: 0; font-size: .85rem; }
.guest-conversion-card p, .guest-conversion-card small { margin: 0; color: var(--muted); font-size: .65rem; line-height: 1.45; }
.guest-login-link { color: var(--accent); font-size: .7rem; font-weight: 750; }
.guest-topic-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid #bcd5ca; border-radius: 12px; background: #edf6f2; font-size: .78rem; line-height: 1.5; }
.guest-topic-banner .button { flex: 0 0 auto; min-height: 44px; }
.guest-login-invite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .65rem;
  border-color: #cfd8d4;
  color: var(--accent);
  background: #f4f8f6;
  font-size: .7rem;
  font-weight: 700;
}
.guest-login-invite svg { width: .9rem; height: .9rem; }
.login-benefits-modal {
  width: min(440px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  border: 0;
  border-radius: 16px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 25px 80px rgba(13, 24, 20, .25);
}
.login-benefits-modal::backdrop { background: rgba(13, 24, 20, .58); backdrop-filter: blur(3px); }
.login-modal-close { position: absolute; top: .75rem; right: .75rem; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: #f0f2f1; font-size: 1.2rem; }
.login-modal-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%; color: var(--accent); background: #e7f2ed; }
.login-modal-icon svg { width: 1.25rem; height: 1.25rem; }
.login-benefits-modal h2 { margin: .35rem 0 .75rem; font-size: 1.35rem; }
.login-benefits-modal > p:not(.eyebrow) { color: var(--muted); font-size: .8rem; line-height: 1.55; }
.login-benefits-modal ul { display: grid; gap: .65rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.login-benefits-modal li { display: flex; align-items: center; gap: .55rem; font-size: .76rem; }
.login-benefits-modal li svg { width: .9rem; height: .9rem; flex: 0 0 auto; color: var(--accent); stroke-width: 3; }
.login-modal-actions { display: grid; gap: .65rem; text-align: center; }
.login-modal-actions .button { display: block; }
.login-modal-actions > a:last-child { color: var(--accent); font-size: .75rem; font-weight: 700; }
.event-archive-card footer > .icon-button { flex: 0 0 auto; }
.logout-confirmation-modal {
  width: min(420px, calc(100vw - 2rem));
  padding: 2rem;
  border: 0;
  border-radius: 16px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 25px 80px rgba(13, 24, 20, .25);
  text-align: center;
}
.logout-confirmation-modal::backdrop { background: rgba(13, 24, 20, .58); backdrop-filter: blur(3px); }
.logout-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #a12828;
  background: #faeaea;
}
.logout-modal-icon svg { width: 1.25rem; height: 1.25rem; }
.logout-confirmation-modal h2 { margin: 0 0 1.4rem; font-size: 1.25rem; line-height: 1.35; }
.logout-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.logout-modal-actions button { width: 100%; }
.logout-confirm-button { border-color: #a12828; background: #a12828; }
.logout-cancel-button { color: var(--ink); background: #f2f4f3; }
.logout-cancel-button:hover { border-color: var(--accent); color: var(--accent); }
.hidden-sources-panel { width: min(760px, 100%); margin-inline: auto; }
.hidden-sources-panel h2 { font-size: 1rem; }
.hidden-source-list { display: grid; gap: .5rem; }
.hidden-source-list form { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .78rem; }
.delete-account-panel { border-color: #e4b9bd; }
.delete-account-submit {
  border-color: #a12828;
  background: #a12828;
}
.other-news {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 4px solid #bfc7c3;
}
.other-news-heading {
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: #e8e9e5;
  border-radius: 12px;
}
.other-news-heading h2 { margin: .25rem 0; }
.other-news-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.secondary-feed .story {
  background: #efefeb;
  border-color: #d5d7d2;
}
.secondary-feed .story h2 { font-size: 1.05rem; }
.search-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}
.search-heading h1 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.search-summary {
  display: flex;
  justify-content: center;
  gap: .55rem;
  align-items: center;
  flex-wrap: wrap;
}
.search-events { margin-bottom: 2.5rem; }
.search-events .section-heading-row { margin-bottom: 1rem; }
.search-events .section-heading-row .eyebrow { font-size: 1em; line-height: normal; }
.search-events-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.search-articles-heading { margin: 0 0 1rem; }
.search-summary a { font-weight: 600; }
.search-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.search-feed .story { height: 100%; margin-bottom: 0; }
.search-empty { max-width: 680px; margin-inline: auto; text-align: center; }
.pagination {
  justify-content: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: .82rem;
}
.pagination-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--accent);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.pagination-arrow:hover {
  border-color: var(--accent);
  background: #f5faf8;
  transform: translateY(-1px);
}
.pagination-arrow svg { width: 1rem; height: 1rem; }
.site-footer {
  flex: 0 0 auto;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.site-footer-inner {
  display: flex;
  align-items: center;
  width: min(1500px, 95vw);
  min-height: 4.5rem;
  margin: 0 auto;
  gap: 2rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}
.footer-brand img { display: block; width: 1.6rem; height: 1.6rem; }
.footer-navigation {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 1 1 auto;
}
.footer-navigation a {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-navigation a:hover { color: var(--accent); }
.footer-copyright {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .68rem;
}
.technical-page {
  width: min(780px, 100%);
  margin: 0 auto;
}
.technical-page > header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.technical-page > header h1 { margin: .25rem 0 .75rem; font-size: 1.65rem; }
.technical-page > header > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}
.technical-page-sections { display: grid; gap: 0; }
.technical-page-sections section {
  padding: 1rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}
.technical-page-sections section:first-child { padding-top: 0; }
.technical-page-sections section:last-child { border-bottom: 0; }
.technical-page-sections h2 { margin: 0 0 .45rem; font-size: .95rem; }
.technical-page-sections p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.6;
}
.technical-page-sections p + p { margin-top: .65rem; }
.technical-page-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: .68rem;
}
@media (min-width: 821px) {
  .site-navigation-shell {
    position: sticky;
    z-index: 30;
    top: 0;
  }
  .site-header-inner { height: var(--desktop-header-height); }
  .personal-feed-toolbar,
  .guest-feed-toolbar {
    top: calc(var(--desktop-header-height) + var(--category-menu-height));
  }
}
@media (max-width: 1300px) {
  .feed-column > .feed,
  .secondary-feed,
  .saved-feed,
  .search-feed,
  .archive-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1050px) {
  .archive-layout { grid-template-columns: 1fr; }
  .archive-navigation { position: static; }
  .events-archive-layout { grid-template-columns: 1fr; }
  .event-detail-layout { grid-template-columns: 1fr; }
  .event-source-sidebar { position: static; }
  .featured-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-event-carousel { grid-column: 1 / -1; grid-row: auto; }
  .featured-event--lead { grid-column: auto; grid-row: auto; }
  .events-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header-inner { flex-wrap: wrap; gap: .75rem 1rem; padding: .75rem 0; }
  .brand { order: 1; }
  .header-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .site-header .account-navigation {
    order: 2;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    margin-left: auto;
  }
  .news-update-status {
    min-height: auto;
    color: var(--muted);
  }
  .news-update-status-label,
  .news-update-status-dot { display: none; }
  .news-update-status-icon {
    display: block;
    width: .85rem;
    height: .85rem;
    stroke-width: 2;
  }
  .news-update-status-time {
    display: inline;
    font: inherit;
  }
  .news-update-status-icon.is-running { animation: update-status-spin .8s linear infinite; }
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: .85rem;
    padding: 1.25rem 0;
  }
  .footer-navigation {
    flex-wrap: wrap;
    gap: .55rem 1rem;
  }
}
@media (max-width: 600px) {
  .archive-layout { grid-template-columns: 1fr; }
  .archive-navigation { position: static; }
  .site-header-inner { align-items: center; }
  nav { gap: .65rem; flex-wrap: wrap; justify-content: flex-end; }
  .saved-link { padding: .55rem .75rem; box-shadow: 0 4px 12px rgba(180, 35, 45, .24); }
  .account-dashboard { margin-top: 1rem; }
  .account-menu-grid { grid-template-columns: 1fr; }
  .display-mode-panel { align-items: stretch; flex-direction: column; }
  .personal-feed-toolbar { align-items: center; flex-direction: row; gap: .5rem; }
  .personal-feed-toolbar nav { align-self: auto; flex-wrap: nowrap; }
  .personal-feed-toolbar-actions { flex: 0 0 auto; gap: .35rem; }
  .personal-feed-toolbar .new-articles-pill { display: none; }
  .guest-topic-banner { align-items: stretch; flex-direction: column; }
  .guest-topic-banner .button { width: 100%; text-align: center; }
  .feed-display-tooltip {
    top: auto;
    right: 0;
    bottom: calc(100% + .8rem);
    transform: none;
  }
  .feed-display-tooltip::after {
    top: auto;
    right: 1.25rem;
    bottom: -.45rem;
    transform: rotate(135deg);
  }
  .event-pagination { grid-template-columns: 1fr; width: min(92%, 440px); }
  .event-pagination > span:empty { display: none; }
  .homepage-events { padding: 1rem; margin-bottom: 1.5rem; }
  .section-heading-row {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .6rem;
  }
  .section-heading-row > div { min-width: 0; }
  .section-all-link { font-size: .7rem; white-space: nowrap; }
  .featured-events-grid, .events-page-grid { grid-template-columns: 1fr; }
  .featured-events-grid { grid-template-rows: auto; }
  .featured-event-carousel { grid-column: auto; }
  .featured-event--compact { display: none; }
  .featured-event--lead { min-height: 250px; }
  .featured-event--lead .featured-event-image { min-height: 100%; }
  .featured-event footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .event-archive-card footer {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .event-archive-card .event-card-meta { flex: 1 1 auto; }
}
@media (max-width: 820px) {
  .page { width: min(94vw, 720px); padding: 1.25rem 0 6.5rem; }
  .site-footer[data-with-mobile-filter] {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
  .feed-message { width: 100%; margin-left: 0; }
  .feed-layout { display: block; }
  .feed-column { grid-column: auto; }
  .feed-column > .feed,
  .secondary-feed,
  .saved-feed,
  .search-feed,
  .archive-feed { grid-template-columns: 1fr; }
  .desktop-filters { display: none; }
  .mobile-filter-trigger {
    display: block;
    position: fixed;
    z-index: 25;
    right: 3vw;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 3vw;
    width: auto;
    margin: 0;
    color: white;
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(12, 107, 79, .2);
  }
  .mobile-filter-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 40;
    inset: 0 0 auto;
    height: 88vh;
    max-height: 88vh;
    padding: 1.2rem 5vw 2rem;
    overflow: hidden;
    background: var(--card);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(23, 35, 31, .2);
    transform: translateY(-105%);
    visibility: hidden;
    transition: transform .28s ease, visibility 0s linear .28s;
  }
  .mobile-filter-drawer .filters-form {
    flex: 1;
    overflow: hidden;
  }
  .mobile-filter-drawer .filters-scroll {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 2rem;
    overscroll-behavior: contain;
  }
  .mobile-filter-drawer .filters-submit { bottom: 0; }
  .mobile-filter-drawer.is-open {
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }
  .filter-overlay {
    display: block;
    position: fixed;
    z-index: 35;
    inset: 0;
    background: rgba(23, 35, 31, .48);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .filter-overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .drawer-heading { display: flex; align-items: flex-start; justify-content: flex-end; }
  .drawer-heading h2 { margin-top: 0; }
  .drawer-close {
    border: 0;
    padding: .1rem .4rem;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
  }
  body.drawer-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-filter-drawer, .filter-overlay { transition: none; }
  .menu-live-dot { animation: none; }
  .featured-event.carousel-slide { transition: none; transform: none; }
}
