.feed {
  color: var(--text);
  font: 1rem/1.5 var(--font-body);
  overflow-wrap: anywhere;
  container: feed / inline-size;
}
.feed *, .feed *::before, .feed *::after { box-sizing: border-box; }
.feed :is(h1,h2,h3,p,dl,dd) { margin: 0; }
.feed :is(h1,h2) { font-family: var(--font-display); font-weight: 450; letter-spacing: normal; }
.feed h3 { font-family: var(--font-body); font-weight: 550; letter-spacing: normal; }
.feed a { color: inherit; text-decoration: none; }
.feed :is(a,button):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.feed-page-head { margin: 0 0 clamp(20px,2.6vw,36px); }
.feed-page-head h1, .feed-detail-header h1 {
  min-width: 0; max-width: 100%; font-size: clamp(1.55rem,3vw,2.8rem);
  line-height: 1.28; text-wrap: balance;
}
.feed-personal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 26px; }
.feed-shortcuts { display: flex; gap: 8px; flex-wrap: wrap; max-width: 100%; }
.feed-shortcuts a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  max-width: 100%; min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--line2); border-radius: 13px; background: var(--surface); font-size: .9rem; font-weight: 550;
}
.feed-shortcuts a:first-child { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.feed-shortcuts a:hover { filter: brightness(1.12); border-color: var(--gold); }
.feed-lead-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: clamp(15px,1.6vw,24px); align-items: stretch; }
.feed-lead {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(70px,8vw,130px); min-height: 350px; overflow: hidden; padding: clamp(18px,2.4vw,34px);
  background: var(--surface); border: 1px solid var(--line2); border-radius: 16px;
}
.feed-lead-image, .feed-lead-shade { position: absolute; inset: 0; height: 100%; width: 100%; }
.feed-lead-image { object-fit: cover; object-position: center 48%; transition: transform .4s ease; z-index: -2; }
.feed-lead-shade { background: linear-gradient(180deg,rgba(13,11,9,.22),transparent 29%,rgba(13,11,9,.30) 51%,rgba(13,11,9,.96)); z-index: -1; }
.feed-photo-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.feed-lead-category {
  min-width: 0; align-self: flex-start; padding: 6px 12px; border: 1px solid rgba(217,164,65,.45); border-radius: 30px;
  background: rgba(22,19,16,.94); color: var(--gold); font-size: .8125rem; font-weight: 550; line-height: 1.4;
}
.feed-lead-open {
  display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
  border-radius: 11px; color: var(--text); border: 1px solid rgba(245,239,230,.65); background: rgba(22,19,16,.58);
}
.feed-lead-open svg { width: 17px; height: 17px; }
.feed-lead:hover .feed-lead-image, .feed-article-card:hover img { transform: scale(1.025); }
.feed-lead:hover .feed-lead-open { color: var(--gold); border-color: var(--gold); }
.feed-lead-date { display: block; margin-bottom: 8px; color: var(--text); font-size: .8125rem; font-weight: 500; }
.feed-lead-caption h2 { max-width: 23ch; font-size: clamp(1.38rem,2.5vw,2.4rem); line-height: 1.27; text-wrap: balance; color: #fff4ec; }
.feed-agenda { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 22px clamp(16px,2vw,30px) 10px; }
.feed-agenda-header h2 { font-size: clamp(1.08rem,1.55vw,1.5rem); line-height: 1.42; }
.feed-agenda-rows { margin-top: 8px; flex: 1; display: flex; flex-direction: column; }
.feed-agenda-links { display: flex; justify-content: space-between; gap: 0 14px; flex-wrap: wrap; }
.feed .feed-enrolled { color: var(--gold); }
.feed-event-row { display: flex; align-items: center; gap: 15px; min-height: 54px; border-bottom: 1px solid var(--line); padding: 12px 0; flex: 1; }
.feed-calendar { display: flex; flex: 0 0 auto; min-width: 2.55rem; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--gold); }
.feed-calendar b { font: 450 1.5rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.feed-calendar small { font-size: .72rem; line-height: 1.2; font-weight: 550; letter-spacing: .04em; }
.feed-event-copy { flex: 1; min-width: 0; }
.feed-event-copy h3 { font-size: 1rem; line-height: 1.37; text-wrap: pretty; }
.feed-event-copy p { color: var(--muted); font-size: .8125rem; margin-top: 4px; }
.feed-event-row:hover h3, .feed-back:hover, .feed-article-card:hover h3 { color: var(--gold); }
.feed-text-link, .feed-back {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; min-height: 44px; padding: 5px 0;
  font: 550 .9rem/1.4 var(--font-body);
}
.feed a.feed-text-link { color: var(--gold); }
.feed .feed-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.feed-arrow { width: 18px; height: 18px; flex: 0 0 auto; }
.feed-stories-section { margin-top: clamp(26px,3.1vw,46px); }
.feed-section-heading { display: flex; gap: 4px 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.feed-section-heading h2 { min-width: 0; max-width: 100%; font-size: clamp(1.2rem,1.95vw,1.75rem); line-height: 1.36; }
.feed-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,1.6vw,24px); }
.feed-article-card { overflow: hidden; display: block; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; }
.feed-article-card:hover { border-color: var(--line2); }
.feed-card-photo { aspect-ratio: 2.65/1; overflow: hidden; background: var(--surface2); }
.feed-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feed-card-copy { padding: clamp(16px,1.6vw,23px); }
.feed-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; color: var(--gold); font-size: .8125rem; font-weight: 500; }
.feed-meta span + span { color: var(--muted); }
.feed-meta span + span::before { content: ''; display: inline-block; vertical-align: middle; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 10px 2px 0; }
.feed-article-card h3 { margin-top: 8px; font-size: clamp(1.18rem,1.65vw,1.5rem); line-height: 1.36; text-wrap: pretty; }
.feed-full-news { grid-template-columns: repeat(3,minmax(0,1fr)); }
.feed-full-news .feed-card-photo { aspect-ratio: 1.85/1; }
.feed-month { color: var(--gold); font-weight: 550; font-size: .875rem; margin-bottom: 11px; }
.feed-event-views { display: flex; flex-wrap: wrap; gap: 8px; margin: -5px 0 22px; }
.feed-event-views a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line2); border-radius: 13px; color: var(--muted); }
.feed-event-views a[aria-current="page"] { color: var(--accent-ink); border-color: var(--accent); background: rgba(212,80,42,.14); }
.feed-event-views a:hover, .feed-cancel:hover { color: var(--text); border-color: var(--gold); }
.feed-list-status, .feed-empty p { color: var(--muted); }
.feed .feed-list-status:not(:empty) { margin-bottom: 15px; }
.feed-empty { max-width: 48rem; padding: clamp(18px,3vw,32px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.feed-empty h2 { font-size: clamp(1.08rem,1.7vw,1.45rem); line-height: 1.5; }
.feed-empty p { margin-top: 9px; }
.feed-empty a { margin-top: 8px; }
.feed-booking:not(:last-child) { border-bottom: 1px solid var(--line); }
.feed-full-agenda .feed-booking .feed-event-row { border: 0; padding-bottom: 9px; }
.feed-cancel { min-height: 44px; margin: 0 0 13px; padding: 8px 12px; font: 500 .875rem/1.4 var(--font-body); cursor: pointer; border: 1px solid var(--line2); border-radius: 11px; background: var(--surface); color: var(--muted); }
.feed-full-agenda { max-width: 70rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 clamp(16px,2vw,29px); }
.feed-full-agenda .feed-event-row {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto;
  grid-template-areas: "date title icon" ". summary icon"; align-items: start; gap: 8px clamp(13px,2vw,26px); padding: 21px 0;
}
.feed-full-agenda .feed-event-row:last-child { border-bottom: 0; }
.feed-full-agenda .feed-calendar { grid-area: date; min-width: 3.6rem; padding-right: 14px; border-right: 1px solid var(--line); }
.feed-full-agenda .feed-calendar b { font-size: 1.85rem; }
.feed-full-agenda .feed-event-copy { grid-area: title; }
.feed-full-agenda .feed-event-copy h3 { font-size: clamp(1.14rem,1.7vw,1.48rem); line-height: 1.35; }
.feed-full-agenda .feed-event-summary { grid-area: summary; color: var(--muted); max-width: 70ch; font-size: .92rem; line-height: 1.52; }
.feed-full-agenda .feed-arrow { grid-area: icon; align-self: start; margin-top: 3px; color: var(--gold); }
.feed a.feed-back { color: var(--muted); margin-bottom: 12px; }
.feed a.feed-back:hover { color: var(--gold); }
.feed-back .feed-arrow { transform: rotate(180deg); }
.feed-detail-header { max-width: 57rem; }
.feed-detail-header h1 { margin-top: 10px; }
.feed-detail-header > p { font-size: clamp(1.05rem,1.45vw,1.3rem); line-height: 1.58; margin: 14px 0 25px; color: var(--muted); max-width: 60ch; }
.feed-detail-image { display: block; width: 100%; max-height: 475px; aspect-ratio: 2.65/1; object-fit: cover; border-radius: 16px; margin-bottom: 26px; }
.feed-prose { max-width: 67ch; min-width: 0; }
.feed-prose p { font-size: 1.02rem; line-height: 1.7; margin-bottom: 1em; }
.feed-event-detail { display: grid; max-width: 72rem; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); align-items: start; gap: clamp(22px,3vw,44px); }
.feed-event-detail .feed-prose { border-top: 1px solid var(--line); padding-top: 18px; }
.feed-event-info { min-width: 0; padding: clamp(17px,2vw,26px); background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.feed-event-info h2 { font-size: clamp(1.22rem,1.7vw,1.55rem); line-height: 1.35; color: var(--gold); }
.feed-event-info > p { margin-top: 5px; color: var(--muted); font-size: .9rem; }
.feed-event-info dl { margin: 14px 0 20px; }
.feed-event-info dl > div { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.feed-event-info dt { color: var(--muted); }
.feed-event-info dd { text-align: right; }
.feed-action { display: inline-block; max-width: 100%; min-height: 46px; border: 1px solid var(--accent); border-radius: 14px; padding: 12px 17px; color: var(--accent-ink); background: var(--accent); font: 600 .94rem/1.4 var(--font-body); cursor: pointer; }
.feed-action:hover { filter: brightness(1.12); }
.feed-action[aria-pressed="true"] { color: var(--text); background: var(--surface2); border-color: var(--line2); }
.feed .feed-rsvp-state { color: var(--muted); font-size: .8125rem; margin-top: 8px; }
.feed-rsvp-state:empty { display: none; }
.feed [hidden] { display: none; }
@media (max-width: 840px) {
  .feed-lead-grid { grid-template-columns: minmax(0,1.24fr) minmax(0,1fr); }
  .feed-agenda { padding: 17px 15px 8px; }
  .feed-full-news { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 670px) {
  .feed-personal { flex-direction: column; align-items: flex-start; gap: 12px; }
  .feed-lead-grid, .feed-event-detail { grid-template-columns: minmax(0,1fr); }
  .feed-lead { min-height: clamp(236px,63vw,335px); }
  .feed-agenda { padding: 18px 18px 8px; }
  .feed-card-photo { aspect-ratio: 1.65/1; }
  .feed-event-info { order: -1; }
}
@media (max-width: 520px) {
  .feed-full-news, .feed-card-grid { grid-template-columns: minmax(0,1fr); }
  .feed-card-photo, .feed-full-news .feed-card-photo { aspect-ratio: 2.05/1; }
  .feed-full-agenda .feed-event-row { grid-template-areas: "date title icon" "summary summary summary"; gap: 12px; padding: 17px 0; }
  .feed-full-agenda .feed-calendar { min-width: 2.8rem; padding-right: 10px; }
  .feed-full-agenda .feed-calendar b { font-size: 1.48rem; }
  .feed-full-agenda .feed-event-summary { line-height: 1.55; }
  .feed-section-heading { justify-content: flex-start; }
  .feed-lead-caption h2 { max-width: 21ch; }
}
@media (max-width: 370px) {
  .feed-shortcuts .feed-arrow { display: none; }
  .feed-shortcuts a { padding-inline: 13px; }
}
@container feed (max-width: 15em) {
  .feed-page-head h1, .feed-detail-header h1 { font-size: 1.18rem; hyphens: auto; }
  .feed-full-agenda .feed-event-row {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "date icon" "title title" "summary summary";
  }
  .feed-agenda-rows .feed-event-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .feed-calendar, .feed-full-agenda .feed-calendar { flex-direction: row; justify-content: start; min-width: 0; gap: 7px; border: 0; padding: 0; }
  .feed-calendar b, .feed-full-agenda .feed-calendar b { font-size: 1.1rem; }
  .feed-full-agenda .feed-event-copy h3 { font-size: 1rem; hyphens: auto; }
  .feed-meta { display: grid; gap: 1px; }
  .feed-meta span + span::before { display: none; }
  .feed-event-info dl > div { grid-template-columns: minmax(0,1fr); gap: 3px; }
  .feed-event-info dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .feed-lead-image, .feed-card-photo img { transition: none; }
}
