:root {
  --feed-red: #c8102e;
  --feed-red-dark: #9f0c24;
  --feed-blue: #1477d4;
  --feed-ink: #182230;
  --feed-muted: #647182;
  --feed-line: #dfe4ea;
  --feed-surface: #ffffff;
  --feed-background: #f3f5f7;
}

body.home-feed-theme {
  background: var(--feed-background);
  color: var(--feed-ink);
}

body.pwa-standalone .feed-page {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

body.pwa-standalone .feed-site-header {
  padding-top: env(safe-area-inset-top);
}

.feed-site-header {
  position: static;
  z-index: 20;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--feed-line);
}

.feed-site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(100% - 48px, 1256px);
  min-height: 78px;
  margin: 0 auto;
}

.feed-site-brand,
.feed-footer-brand-lockup {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: var(--feed-ink);
  text-decoration: none;
}

.feed-site-brand img,
.feed-footer-brand-lockup img {
  display: block;
  flex: 0 0 auto;
  border: 1px solid #d7dce3;
  border-radius: 13px;
  object-fit: cover;
}

.feed-site-brand img {
  border: 0;
}

.feed-site-brand-copy,
.feed-footer-brand-lockup > span {
  display: grid;
  gap: 2px;
}

.feed-site-brand-copy strong,
.feed-footer-brand-lockup strong {
  color: var(--feed-red);
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

.feed-site-brand-copy strong span {
  color: #282e6e;
}

.feed-site-brand-copy small,
.feed-footer-brand-lockup small {
  color: var(--feed-muted);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.feed-site-header-actions {
  display: flex;
  grid-column: 3;
  gap: 8px;
  align-items: center;
}

.feed-site-mobile-account {
  display: none;
}

.feed-site-stay-link,
.feed-site-account-link {
  display: inline-flex;
  min-height: 40px;
  padding: 9px 14px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 0.74rem;
  font-weight: 850;
  text-decoration: none;
}

.feed-site-stay-link {
  background: var(--feed-red);
  color: #ffffff;
}

.feed-site-stay-link:hover,
.feed-site-stay-link:focus-visible {
  background: var(--feed-red-dark);
  color: #ffffff;
}

.feed-site-account-link {
  border: 1px solid var(--feed-line);
  color: var(--feed-ink);
  background: #ffffff;
}

.feed-site-account-link:hover,
.feed-site-account-link:focus-visible {
  border-color: #aeb7c2;
  color: var(--feed-red);
}

.feed-site-mobile-menu {
  display: none;
}

.feed-mobile-bottom-nav {
  display: none;
}

.feed-site-footer {
  padding: 0 24px max(22px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--feed-line);
  background: #f7f8fa;
}

.feed-site-footer-inner {
  width: min(100%, 1256px);
  margin: 0 auto;
}

.feed-footer-alerts {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(380px, 1.32fr);
  gap: 28px;
  align-items: center;
  margin: 24px 0 0;
  padding: 20px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:#102b4a;
  color: #ffffff;
  box-shadow: 0 7px 20px rgba(16, 43, 74, 0.1);
}

.feed-footer-alerts-kicker {
  display: block;
  margin-bottom: 5px;
  color: #ff9aac;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.home-feed-theme .feed-footer-alerts h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-wrap: pretty;
}

body.home-feed-theme .feed-footer-alerts p {
  max-width: 48ch;
  margin: 0;
  color: #c9d6e3;
  font-size: 0.72rem;
  line-height: 1.42;
}

.feed-footer-alerts-notice {
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 154, 172, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd4dc;
  font-size: 0.72rem;
  line-height: 1.45;
}

.feed-footer-alerts-notice.is-success {
  border-color: rgba(158, 226, 178, 0.5);
  color: #c9f2d5;
}

.feed-footer-alerts-form {
  min-width: 0;
}

.feed-footer-alerts-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.feed-footer-alerts-row input[type="email"] {
  min-width: 0;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 11px;
  background: #ffffff;
  color: var(--feed-ink);
  font-size: 0.82rem;
  box-sizing: border-box;
}

.feed-footer-alerts-row input::placeholder {
  color: #8b97a7;
}

.feed-footer-alerts-row button {
  min-height: 44px;
  padding: 9px 16px;
  border: 0;
  border-radius: 11px;
  background: var(--feed-red);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.feed-footer-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 7px;
  color: #b8c7d5;
  font-size: 0.67rem;
  line-height: 1.4;
}

.feed-footer-consent input {
  margin-top: 2px;
  accent-color: var(--feed-red);
}

.feed-footer-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.feed-footer-turnstile,
.site-footer-newsletter__turnstile {
  margin-top: 8px;
}

.feed-footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 64px);
  padding: 38px 0 32px;
  align-items: start;
}

body.home-feed-theme .feed-footer-brand p {
  max-width: 42ch;
  margin: 15px 0 18px;
  color: var(--feed-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.feed-footer-brand-lockup strong {
  color: var(--feed-ink);
  text-transform: none;
}

.feed-footer-socials {
  display: flex;
  gap: 8px;
}

.feed-footer-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--feed-line);
  border-radius: 11px;
  background: #ffffff;
}

.feed-footer-socials img {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.feed-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  padding-left: clamp(28px, 4vw, 44px);
  border-left: 1px solid var(--feed-line);
}

.feed-footer-links section {
  display: grid;
  align-content: start;
  gap: 10px;
}

body.home-feed-theme .feed-footer-links h2 {
  margin: 0 0 5px;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.feed-footer-links a {
  color: var(--feed-muted);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.feed-footer-links a:hover,
.feed-footer-links a:focus-visible {
  color: var(--feed-red);
}

.feed-footer-legal {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 16px 0 2px;
  border-top: 1px solid var(--feed-line);
}

body.home-feed-theme .feed-footer-legal p {
  margin: 0;
  color: #7c8795;
  font-size: 0.61rem;
  line-height: 1.5;
}

.feed-footer-legal p:last-child {
  max-width: 70ch;
  text-align: right;
}

.feed-page {
  min-height: 100vh;
  padding: 28px 24px 72px;
}

.feed-page-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px) 220px;
  gap: 28px;
  width: min(100%, 1256px);
  margin: 0 auto;
  align-items: start;
}

.project-feed-content {
  min-width: 0;
}

.project-feed-content > main.shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-page-card {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-side-column {
  display: none !important;
}

body.project-feed-site.news-article-page .project-feed-content :is(
  .news-article-page-header,
  .news-article-media-card,
  .news-article-body-card,
  .news-article-comments-card,
  .news-article-topic-card,
  .news-article-read-next-card
) {
  width: 100%;
  max-width: 100%;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card {
  max-width: 620px;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-card-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  max-width: 620px;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-link {
  display: grid !important;
  flex-direction: row;
  grid-template-columns: 140px minmax(0, 1fr) !important;
  min-height: 96px;
  height: auto;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-image {
  width: 100% !important;
  height: 100%;
  min-height: 96px;
  max-height: 116px;
  aspect-ratio: auto;
  border-radius: 0;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-copy {
  width: auto;
  padding: 0.72rem 0.82rem;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-copy p {
  display: none;
}

@media (max-width: 640px) {
  body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-link {
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }

  body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-image {
    min-height: 88px;
    max-height: 104px;
  }

  body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-copy {
    padding: 0.65rem 0.7rem;
  }

  body.project-feed-site.news-article-page .project-feed-content .news-article-read-next-card .news-article-card-copy h3 {
    font-size: 0.86rem;
  }
}

.feed-share-modal[hidden] {
  display: none;
}

.feed-share-modal {
  position: fixed;
  inset: 0;
  z-index: 2210;
  display: grid;
  padding: 20px;
  place-items: center;
}

.feed-share-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 20, 42, 0.58);
  backdrop-filter: blur(4px);
  cursor: default;
}

.feed-share-modal-dialog {
  position: relative;
  display: grid;
  width: min(100%, 540px);
  padding: 20px;
  gap: 18px;
  overflow: hidden;
  border: 1px solid #dce2ea;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(8, 20, 42, 0.24);
}

.feed-share-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.feed-share-modal-header > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.feed-share-modal-kicker {
  color: var(--feed-red);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.home-feed-theme .feed-share-modal-header h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--feed-ink);
  font-size: 1.12rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feed-share-modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #dce2ea;
  border-radius: 10px;
  background: #f4f7fa;
  color: var(--feed-ink);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.feed-share-modal-close:hover,
.feed-share-modal-close:focus-visible {
  border-color: var(--feed-red);
  color: var(--feed-red);
}

.feed-share-modal-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feed-share-option {
  display: grid;
  min-width: 0;
  min-height: 92px;
  padding: 12px 7px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--feed-ink);
  background: #f7f9fc;
  border: 1px solid #e0e5ec;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.feed-share-option:hover,
.feed-share-option:focus-visible {
  border-color: #aeb8c6;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(8, 20, 42, 0.08);
  transform: translateY(-1px);
}

.feed-share-option-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
}

.feed-share-option-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feed-share-option-icon--brand {
  overflow: hidden;
  background: transparent;
}

.feed-share-option-icon--brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feed-share-option--email .feed-share-option-icon { background: #25356f; }

.feed-share-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 6px;
  border: 1px solid #dce2ea;
  border-radius: 12px;
  background: #f7f9fc;
}

.feed-share-copy-row input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0 8px;
  overflow: hidden;
  color: var(--feed-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-share-copy-row input:focus {
  outline: 0;
  box-shadow: none;
}

.feed-share-copy-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: var(--feed-red);
  color: #ffffff;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 900;
  cursor: pointer;
}

.feed-share-copy-row button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feed-share-copy-row button:hover,
.feed-share-copy-row button:focus-visible {
  background: var(--feed-red-dark);
}

.feed-share-feedback {
  min-height: 1em;
  margin: -10px 0 0;
  color: #16845b;
  font-size: 0.65rem;
  font-weight: 750;
}

body.has-feed-share-modal {
  overflow: hidden;
}

@media (max-width: 640px) {
  .feed-share-modal {
    padding: 0;
    align-items: end;
  }

  .feed-share-modal-dialog {
    width: 100%;
    padding: 16px 14px calc(12px + env(safe-area-inset-bottom));
    gap: 14px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
  }

  body.home-feed-theme .feed-share-modal-header h2 {
    font-size: 0.98rem;
    -webkit-line-clamp: 1;
  }

  .feed-share-modal-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .feed-share-option {
    min-height: 74px;
    padding: 8px 3px;
    gap: 5px;
    border-radius: 10px;
    font-size: 0.62rem;
  }

  .feed-share-option-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 0.92rem;
  }

  .feed-share-option-icon svg {
    width: 18px;
    height: 18px;
  }

  .feed-share-copy-row input,
  .feed-share-copy-row button {
    min-height: 38px;
  }
}

@media (max-width: 350px) {
  .feed-share-modal-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feed-sidebar {
  min-height: 1px;
  margin-top: 14px;
}

.feed-sidebar-inner {
  display: grid;
  gap: 10px;
}

.feed-sidebar-stay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 10px;
  min-height: 72px;
  padding: 13px 12px 13px 14px;
  align-items: center;
  border-radius: 15px;
  background: var(--feed-red);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(159, 12, 36, 0.18);
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feed-sidebar-stay:hover,
.feed-sidebar-stay:focus-visible {
  background: var(--feed-red-dark);
  box-shadow: 0 8px 22px rgba(159, 12, 36, 0.24);
  transform: translateY(-1px);
}

.feed-sidebar-stay-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.feed-sidebar-stay-copy small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feed-sidebar-stay-copy strong {
  color: #ffffff;
  font-size: 0.77rem;
  font-weight: 900;
  line-height: 1.25;
}

.feed-sidebar-stay-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 900;
}

.feed-sidebar-label {
  padding: 5px 10px 0;
  color: #8792a1;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feed-sidebar-links {
  display: grid;
  gap: 4px;
}

.feed-sidebar-links--account {
  padding-top: 10px;
  border-top: 1px solid var(--feed-line);
}

.feed-sidebar-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--feed-ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feed-sidebar-link:hover,
.feed-sidebar-link:focus-visible {
  border-color: #d7dde5;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(24, 34, 48, 0.05);
}

.feed-sidebar-link.is-active {
  border-color: transparent;
  background: #fff8f9;
  box-shadow: none;
}

.feed-sidebar-link.is-active:hover,
.feed-sidebar-link.is-active:focus-visible {
  border-color: transparent;
  background: #fff5f7;
  box-shadow: none;
}

.feed-sidebar-link-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #edf2f8;
  color: #26346f;
  font-size: 0.72rem;
  font-weight: 900;
}

.feed-sidebar-link-icon svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feed-sidebar-link-icon--video svg,
.feed-sidebar-link-icon--contributor-new svg,
.feed-sidebar-link-icon--admin svg {
  width: 22px;
  height: 22px;
}

.feed-sidebar-link-icon--video svg {
  stroke-width: 2;
}

.feed-sidebar-link-icon--contributor-new svg {
  stroke-width: 2.4;
}

.feed-sidebar-link.is-active .feed-sidebar-link-icon {
  background: var(--feed-red);
  color: #ffffff;
}

.feed-sidebar-link-copy {
  display: grid;
  min-width: 0;
}

.feed-sidebar-link-copy strong {
  font-size: 0.8rem;
  font-weight: 800;
}

.feed-sidebar-notifications {
  min-width: 0;
}

.feed-sidebar-notification-toggle {
  width: 100%;
  font: inherit;
  text-align: left;
}

.feed-sidebar-notifications > summary {
  cursor: pointer;
  list-style: none;
}

.feed-sidebar-notifications > summary::-webkit-details-marker {
  display: none;
}

.feed-sidebar-notification-toggle {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.feed-sidebar-notifications[open] .feed-sidebar-notification-toggle {
  border-color: #dfe4ea;
  background: #ffffff;
}

.feed-sidebar-notification-bell svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feed-sidebar-notification-count {
  min-width: 22px;
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--feed-red);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.feed-sidebar-notification-panel {
  display: grid;
  max-height: 330px;
  margin: 4px 0 10px;
  overflow-y: auto;
  border: 1px solid var(--feed-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(24, 34, 48, 0.08);
}

.feed-sidebar-notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  min-width: 0;
  border-bottom: 1px solid #edf0f4;
  color: var(--feed-ink);
  background: #ffffff;
}

.feed-sidebar-notification-item:last-child {
  border-bottom: 0;
}

.feed-sidebar-notification-item:hover,
.feed-sidebar-notification-item:focus-within {
  background: #f7f9fc;
}

.feed-sidebar-notification-item.is-unread {
  background: #fffafb;
}

.feed-sidebar-notification-link {
  display: grid;
  min-width: 0;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 10px 6px 10px 10px;
  color: inherit;
  text-decoration: none;
}

.feed-sidebar-notification-dot {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--feed-red);
}

.feed-sidebar-notification-item.is-read .feed-sidebar-notification-dot {
  background: #aeb7c4 !important;
}

.feed-sidebar-notification-item.is-read .feed-sidebar-notification-copy strong,
.feed-sidebar-notification-item.is-read .feed-sidebar-notification-copy small,
.feed-sidebar-notification-item.is-read .feed-sidebar-notification-copy time {
  color: #8b95a3;
}

.feed-sidebar-notification-dismiss {
  display: grid;
  width: 24px;
  height: 24px;
  margin: 8px 4px 0 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9aa4b2;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.feed-sidebar-notification-dismiss:hover,
.feed-sidebar-notification-dismiss:focus-visible {
  background: #f2f4f7;
  color: var(--feed-red);
}

.feed-sidebar-notification-item--error .feed-sidebar-notification-dot,
.feed-sidebar-notification-item--moderation .feed-sidebar-notification-dot {
  background: var(--feed-red);
}

.feed-sidebar-notification-item--review .feed-sidebar-notification-dot {
  background: #d97706;
}

.feed-sidebar-notification-item--approved .feed-sidebar-notification-dot {
  background: #16845b;
}

.feed-sidebar-notification-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.feed-sidebar-notification-copy strong {
  font-size: 0.67rem;
  font-weight: 850;
  line-height: 1.3;
}

.feed-sidebar-notification-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--feed-muted);
  font-size: 0.61rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feed-sidebar-notification-copy time {
  color: #8b95a3;
  font-size: 0.56rem;
  font-weight: 750;
}

.feed-sidebar-notification-empty {
  margin: 0;
  padding: 13px 11px;
  color: var(--feed-muted);
  font-size: 0.65rem;
  line-height: 1.4;
}

.feed-notification-modal[hidden] {
  display: none;
}

.feed-notification-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  padding: 20px;
  place-items: center;
}

.feed-notification-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 20, 42, 0.58);
  backdrop-filter: blur(4px);
  cursor: default;
}

.feed-notification-modal-dialog {
  position: relative;
  display: grid;
  width: min(100%, 560px);
  max-height: min(720px, calc(100dvh - 40px));
  overflow: hidden;
  border: 1px solid #dce2ea;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(8, 20, 42, 0.24);
}

.feed-notification-modal-header {
  display: flex;
  padding: 20px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--feed-line);
}

.feed-notification-modal-header > div {
  display: grid;
  gap: 3px;
}

.feed-notification-modal-kicker {
  color: var(--feed-red);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.home-feed-theme .feed-notification-modal-header h2 {
  margin: 0;
  color: var(--feed-ink);
  font-size: 1.28rem;
  line-height: 1.2;
}

.feed-notification-modal-header p {
  margin: 0;
  color: var(--feed-muted);
  font-size: 0.73rem;
}

.feed-notification-modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #dce2ea;
  border-radius: 10px;
  background: #f4f7fa;
  color: var(--feed-ink);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.feed-notification-modal-close:hover,
.feed-notification-modal-close:focus-visible {
  border-color: var(--feed-red);
  color: var(--feed-red);
}

.feed-notification-modal-list {
  display: grid;
  max-height: min(56vh, 500px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.feed-notification-modal-list .feed-sidebar-notification-item {
  grid-template-columns: minmax(0, 1fr) 34px;
}

.feed-notification-modal-list .feed-sidebar-notification-link {
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 11px;
  padding: 14px 6px 14px 18px;
}

.feed-notification-modal-list .feed-sidebar-notification-dismiss {
  margin: 12px 8px 0 0;
}

.feed-notification-modal-list .feed-sidebar-notification-copy strong {
  font-size: 0.78rem;
}

.feed-notification-modal-list .feed-sidebar-notification-copy small {
  font-size: 0.7rem;
  -webkit-line-clamp: 3;
}

.feed-notification-modal-list .feed-sidebar-notification-copy time {
  font-size: 0.62rem;
}

.feed-sidebar-notification-item--like .feed-sidebar-notification-dot {
  background: var(--feed-red);
}

.feed-sidebar-notification-item-count {
  min-width: 25px;
  padding: 5px 7px;
  align-self: center;
  border-radius: 999px;
  background: #f8e9ed;
  color: var(--feed-red);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.feed-notification-modal-list .feed-sidebar-notification-empty {
  display: grid;
  min-height: 230px;
  padding: 34px;
  place-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
}

.feed-notification-modal-list .feed-sidebar-notification-empty > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e8f6ef;
  color: #16845b;
  font-size: 1.15rem;
  font-weight: 900;
}

.feed-notification-modal-list .feed-sidebar-notification-empty strong {
  color: var(--feed-ink);
  font-size: 0.92rem;
}

.feed-notification-modal-list .feed-sidebar-notification-empty p {
  max-width: 270px;
  margin: 0;
  color: var(--feed-muted);
  font-size: 0.72rem;
}

body.has-notification-modal {
  overflow: hidden;
}

.article-like-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linejoin: round;
  transition: fill 150ms ease, transform 150ms ease;
}

.article-like-button.is-liked {
  color: var(--feed-red);
}

.article-like-button.is-liked svg {
  fill: currentColor;
  transform: scale(1.04);
}

.article-like-count {
  min-width: 20px;
  padding: 3px 5px;
  border-radius: 999px;
  background: #eef1f5;
  color: currentColor;
  font-size: 0.58rem;
  line-height: 1;
  text-align: center;
}

.article-like-button.is-loading svg {
  animation: article-like-pulse 700ms ease-in-out infinite alternate;
}

@keyframes article-like-pulse {
  to { transform: scale(0.8); opacity: 0.45; }
}

@media (max-width: 640px) {
  .feed-notification-modal {
    padding: 0;
    align-items: end;
  }

  .feed-notification-modal-dialog {
    width: 100%;
    max-height: min(82dvh, 680px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .feed-notification-modal-header {
    padding: 17px 16px;
  }

  .feed-notification-modal-list .feed-sidebar-notification-item {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .feed-notification-modal-list .feed-sidebar-notification-link {
    padding: 13px 4px 13px 16px;
  }
}

.feed-stream {
  min-width: 0;
}

.feed-intro-card {
  position: relative;
  display: grid;
  margin-bottom: 14px;
  padding: 21px 24px 19px;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--feed-line);
  border-top: 4px solid var(--feed-red);
  border-radius: 8px;
  background:
    linear-gradient(118deg, rgba(200, 16, 46, 0.025) 0%, transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f3f6fa 100%);
}

.feed-intro-card::before {
  content: none;
}

.feed-intro-card::after {
  content: none;
}

.feed-intro-map {
  position: absolute;
  top: 4px;
  right: 10px;
  width: 166px;
  height: 174px;
  overflow: hidden;
  pointer-events: none;
}

.feed-intro-map-canvas {
  position: relative;
  width: 100%;
  height: 100%;
}

.feed-intro-map-canvas > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.12;
  filter: saturate(0.3);
  transform: rotate(5deg) scale(1.48) translateY(-7%);
  transform-origin: center 62%;
}

.feed-intro-map-marker {
  position: absolute;
  left: 70%;
  top: 84%;
  width: 18px;
  height: 18px;
  overflow: visible;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 1px 2px rgba(86, 61, 5, 0.22));
}

.feed-intro-map-marker path {
  fill: #d7a322;
  stroke: #ffffff;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.feed-intro-kicker-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
}

.feed-intro-kicker {
  color: var(--feed-red);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feed-intro-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6d7b8e;
  font-size: 0.6rem;
  font-weight: 800;
}

.feed-intro-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24a55a;
  box-shadow: 0 0 0 3px rgba(36, 165, 90, 0.11);
}

body.home-feed-theme .feed-intro-card h1 {
  position: relative;
  z-index: 1;
  max-width: 30ch;
  margin: 0;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.78rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

body.home-feed-theme .feed-intro-card > p {
  position: relative;
  z-index: 1;
  max-width: 68ch;
  margin: 1px 0 4px;
  color: var(--feed-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.feed-intro-title-mobile,
.feed-intro-copy-mobile {
  display: none;
}

.feed-intro-footer {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.feed-intro-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #718095;
  font-size: 0.61rem;
  font-weight: 800;
}

.feed-intro-topics span {
  padding: 5px 8px;
  border: 1px solid rgba(32, 52, 111, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.feed-intro-archive-link {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: var(--feed-red);
  background: rgba(200, 16, 46, 0.055);
  border-radius: 8px;
  font-size: 0.67rem;
  font-weight: 900;
  text-decoration: none;
}

.feed-intro-archive-link:hover,
.feed-intro-archive-link:focus-visible {
  background: rgba(200, 16, 46, 0.1);
  text-decoration: none;
}

.feed-right-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.feed-right-stay-card,
.feed-right-stay-fallback {
  overflow: hidden;
  border: 1px solid var(--feed-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(24, 34, 48, 0.045);
}

.feed-right-stay-card > a:first-child {
  display: block;
  color: var(--feed-ink);
  text-decoration: none;
}

.feed-right-stay-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--feed-line);
  background: #e9edf2;
}

.feed-right-video-card .feed-right-stay-image {
  aspect-ratio: 16 / 9;
}

.feed-right-stay-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.feed-right-stay-card > a:first-child:hover .feed-right-stay-image img,
.feed-right-stay-card > a:first-child:focus-visible .feed-right-stay-image img {
  transform: scale(1.02);
}

.feed-right-stay-copy {
  display: grid;
  gap: 7px;
  padding: 15px 14px;
}

.feed-right-stay-kicker {
  color: var(--feed-red);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.home-feed-theme .feed-right-stay-card h2 {
  margin: 0;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.32;
  text-wrap: pretty;
}

.feed-right-stay-location {
  color: var(--feed-muted);
  font-size: 0.67rem;
  font-weight: 750;
}

body.home-feed-theme .feed-right-stay-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #5b6777;
  font-size: 0.68rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.feed-right-stay-action {
  margin-top: 3px;
  color: var(--feed-red);
  font-size: 0.68rem;
  font-weight: 900;
}

.feed-right-stay-provider {
  display: block;
  padding: 10px 14px;
  border-top: 1px solid var(--feed-line);
  color: var(--feed-muted);
  font-size: 0.58rem;
  font-weight: 750;
  text-decoration: none;
}

.feed-right-stay-provider:hover,
.feed-right-stay-provider:focus-visible {
  color: var(--feed-red);
}

.feed-right-stay-fallback {
  display: grid;
  gap: 7px;
  padding: 18px 16px;
  color: var(--feed-ink);
  text-decoration: none;
}

.feed-right-stay-fallback > span {
  color: var(--feed-red);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-right-stay-fallback > strong {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  line-height: 1.4;
}

.feed-right-stay-fallback > small {
  color: var(--feed-muted);
  font-size: 0.65rem;
  font-weight: 800;
}

.feed-stream-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 2px 4px;
}

.feed-stream-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--feed-red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feed-stream-heading h1 {
  margin: 0;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.feed-live-label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding-bottom: 5px;
  color: var(--feed-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.feed-live-label > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a65a;
  box-shadow: 0 0 0 4px rgba(34, 166, 90, 0.12);
}

.feed-stay-card {
  display: block;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #dfe4ea;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(24, 34, 48, 0.06);
}

.feed-stay-card-link {
  display: block;
  aspect-ratio: 3378 / 1002;
  overflow: hidden;
  background: #ffffff;
}

.feed-stay-card-link picture,
.feed-stay-card-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.feed-stay-card-link img {
  object-fit: contain;
}

.feed-post-list {
  display: grid;
  gap: 0;
}

.feed-post-list .feed-stay-card--in-feed {
  margin: 14px 0;
}

.feed-post[hidden],
.feed-end-card[hidden],
.feed-load-more[hidden] {
  display: none !important;
}

.feed-post,
.feed-empty-state,
.feed-end-card {
  overflow: hidden;
  border: 1px solid var(--feed-line);
  border-radius: 18px;
  background: var(--feed-surface);
  box-shadow: 0 4px 18px rgba(24, 34, 48, 0.045);
}

body.home-feed-theme .feed-post {
  border: 0;
  border-bottom: 1px solid #e3e7ec;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 150ms ease;
}

body.home-feed-theme .feed-post--latest {
  border-top: 0;
}

@media (min-width: 701px) {
  .feed-post-list {
    gap: 16px;
  }

  .feed-post-list .feed-stay-card--in-feed {
    margin: 0;
  }

  body.home-feed-theme .feed-post {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow:
      0 0 0 1px rgba(24, 34, 48, 0.035),
      0 5px 18px rgba(24, 34, 48, 0.115);
    transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  }

  body.home-feed-theme .feed-post:hover,
  body.home-feed-theme .feed-post:focus-within {
    background: #ffffff;
    box-shadow:
      0 0 0 1px rgba(24, 34, 48, 0.05),
      0 9px 26px rgba(24, 34, 48, 0.155);
    transform: translateY(-1px);
  }

  body.home-feed-theme .feed-post .feed-post-action {
    background: transparent;
  }
}

.feed-post-header {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 18px 20px 8px;
}

.feed-post-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
}

.feed-post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-post-identity {
  display: grid;
  min-width: 0;
  gap: 2px;
  color: var(--feed-muted);
  font-size: 0.72rem;
}

.feed-post-name-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.feed-post-name-row strong {
  overflow: hidden;
  color: var(--feed-ink);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-verified {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--feed-blue);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.feed-new-pill {
  padding: 2px 5px;
  border-radius: 5px;
  background: #fee8ed;
  color: var(--feed-red);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.feed-post-copy {
  padding: 10px 20px 17px;
}

body.home-feed-theme .feed-post-copy h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
  text-wrap: pretty;
}

.feed-post-copy h2 a {
  color: var(--feed-ink);
  text-decoration: none;
}

.feed-post-copy h2 a:hover,
.feed-post-copy h2 a:focus-visible {
  color: var(--feed-red);
}

.feed-post-copy p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: #4f5c6c;
  font-size: 0.9rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.feed-post-media {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  aspect-ratio: 16 / 9;
  gap: 2px;
  overflow: hidden;
  border-top: 1px solid var(--feed-line);
  border-bottom: 1px solid var(--feed-line);
  background: #e8ebef;
}

.feed-post-media--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-post-media--count-3 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.feed-post-media--count-3 .feed-post-media-tile:first-child {
  grid-row: 1 / 3;
}

.feed-post-media--count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.feed-post-media--count-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 16 / 10;
}

.feed-post-media--count-5 .feed-post-media-tile:nth-child(1) {
  grid-column: 1 / 4;
}

.feed-post-media--count-5 .feed-post-media-tile:nth-child(2) {
  grid-column: 4 / 7;
}

.feed-post-media--count-5 .feed-post-media-tile:nth-child(3) {
  grid-column: 1 / 3;
}

.feed-post-media--count-5 .feed-post-media-tile:nth-child(4) {
  grid-column: 3 / 5;
}

.feed-post-media--count-5 .feed-post-media-tile:nth-child(5) {
  grid-column: 5 / 7;
}

.feed-post-media-tile {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e8ebef;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
}

.feed-post-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.feed-post-media-tile:hover img,
.feed-post-media-tile:focus-visible img {
  transform: scale(1.015);
}

.feed-post-media-tile:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.65);
  outline-offset: -3px;
}

body.home-feed-theme .feed-image-lightbox {
  z-index: 3000;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(8, 20, 42, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.home-feed-theme .feed-image-lightbox-content {
  width: auto;
  max-width: min(94vw, 1280px);
  max-height: calc(100dvh - 72px);
  cursor: zoom-out;
}

body.home-feed-theme .feed-image-lightbox-image {
  max-width: 100%;
  max-height: calc(100dvh - 72px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(8, 20, 42, 0.48);
  cursor: default;
}

body.home-feed-theme .feed-image-lightbox-close {
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--feed-ink);
  box-shadow: 0 12px 34px rgba(8, 20, 42, 0.24);
  font-size: 1.55rem;
  line-height: 1;
}

body.home-feed-theme .feed-image-lightbox-close:hover,
body.home-feed-theme .feed-image-lightbox-close:focus-visible {
  border-color: var(--feed-red);
  background: #ffffff;
  color: var(--feed-red);
}

@media (max-width: 640px) {
  body.home-feed-theme .feed-image-lightbox {
    padding: 14px;
  }

  body.home-feed-theme .feed-image-lightbox-content,
  body.home-feed-theme .feed-image-lightbox-image {
    max-height: calc(100dvh - 52px);
  }

  body.home-feed-theme .feed-image-lightbox-close {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    width: 38px;
    height: 38px;
  }
}

.feed-post-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 49px;
}

.feed-post-action {
  width: 100%;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid #edf0f3;
  background: #ffffff;
  color: #667283;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.feed-post-action-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feed-post-action-icon--reader {
  transition: transform 160ms ease;
}

.feed-post-action.is-expanded .feed-post-action-icon--reader {
  transform: rotate(180deg);
}

.feed-post-action:first-child {
  border-left: 0;
}

.feed-post-action:hover,
.feed-post-action:focus-visible,
.feed-post-action--primary {
  color: var(--feed-red);
}

.feed-post-action--primary {
  justify-content: flex-start;
  padding-left: 20px;
}

.feed-post-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.feed-inline-reader {
  padding: 22px 20px 18px;
  border-top: 1px solid var(--feed-line);
  background: #ffffff;
}

.feed-inline-reader[hidden] {
  display: none;
}

.feed-inline-reader-status {
  padding: 4px 0;
  color: var(--feed-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.feed-inline-reader-status.is-error {
  color: var(--feed-red);
}

.feed-inline-reader-body {
  color: #354253;
  font-size: 0.91rem;
  line-height: 1.68;
}

.feed-inline-reader-body > :first-child {
  margin-top: 0;
}

.feed-inline-reader-body > :last-child {
  margin-bottom: 0;
}

.feed-inline-reader-body h2,
.feed-inline-reader-body h3 {
  margin: 1.35em 0 0.55em;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.feed-inline-reader-body h2 {
  font-size: 1.15rem;
}

.feed-inline-reader-body h3 {
  font-size: 1rem;
}

.feed-inline-reader-body p,
.feed-inline-reader-body ul,
.feed-inline-reader-body ol,
.feed-inline-reader-body blockquote {
  margin: 0 0 1em;
}

.feed-inline-reader-body a,
.feed-inline-reader-footer a {
  color: var(--feed-red);
  font-weight: 800;
}

.feed-inline-reader-body blockquote {
  padding: 2px 0 2px 14px;
  border-left: 3px solid var(--feed-red);
  color: #556274;
}

.feed-inline-reader-footer {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--feed-line);
}

.feed-inline-reader-footer[hidden] {
  display: none;
}

.feed-inline-reader-footer a,
.feed-inline-reader-footer button {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.73rem;
  text-decoration: none;
  cursor: pointer;
}

.feed-inline-reader-footer button {
  color: var(--feed-muted);
  font-weight: 800;
}

.feed-empty-state,
.feed-end-card {
  padding: 32px;
  text-align: center;
}

.feed-load-more {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  padding: 12px 18px;
  border: 1px solid var(--feed-line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--feed-red);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.feed-load-more:hover,
.feed-load-more:focus-visible {
  border-color: var(--feed-red);
  background: #fff7f9;
}

.feed-newsletter-card {
  display: none;
}

.feed-empty-state h2,
.feed-end-card strong {
  display: block;
  margin: 0 0 7px;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
}

.feed-empty-state p,
.feed-end-card span {
  color: var(--feed-muted);
  font-size: 0.82rem;
}

.feed-end-card {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}

.feed-end-card > a {
  justify-self: center;
  margin-top: 9px;
  color: var(--feed-red);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.feed-video-channel-link {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 13px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--feed-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--feed-ink);
  font-size: 0.7rem;
  font-weight: 850;
  text-decoration: none;
}

.feed-video-channel-link:hover,
.feed-video-channel-link:focus-visible {
  border-color: var(--feed-red);
  color: var(--feed-red);
}

.feed-video-channel-link--youtube {
  white-space: nowrap;
}

.feed-video-channel-link--youtube > svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.feed-video-channel-link--youtube .feed-video-channel-play {
  fill: #ffffff;
}

.feed-video-notice {
  margin-bottom: 14px;
  padding: 13px 16px;
  border: 1px solid #f1ccd3;
  border-radius: 12px;
  background: #fff7f8;
  color: #8e2436;
  font-size: 0.78rem;
  line-height: 1.5;
}

.feed-video-list {
  display: grid;
  gap: 14px;
}

.feed-video-post {
  overflow: hidden;
  border: 1px solid var(--feed-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(24, 34, 48, 0.045);
}

.feed-video-post-header {
  display: flex;
  gap: 11px;
  padding: 18px 20px 8px;
  align-items: center;
}

.feed-video-post-copy {
  padding: 10px 20px 17px;
}

body.home-feed-theme .feed-video-post-copy h2 {
  margin: 0;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
  text-wrap: pretty;
}

.feed-video-embed {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top: 1px solid var(--feed-line);
  border-bottom: 1px solid var(--feed-line);
  background: #0b0d10;
}

.feed-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.feed-video-fallback {
  display: grid;
  min-height: 220px;
  padding: 24px;
  place-items: center;
  border-top: 1px solid var(--feed-line);
  border-bottom: 1px solid var(--feed-line);
  background: #182230;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.feed-video-post-footer {
  display: flex;
  min-height: 49px;
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--feed-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.feed-video-post-footer a {
  color: var(--feed-red);
  font-weight: 900;
  text-decoration: none;
}

.feed-video-post-footer a:hover,
.feed-video-post-footer a:focus-visible {
  color: var(--feed-red-dark);
}

.feed-podcast-featured,
.feed-podcast-episode {
  overflow: hidden;
  border: 1px solid var(--feed-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(24, 34, 48, 0.045);
}

.feed-podcast-featured {
  border-top: 3px solid var(--feed-red);
}

.feed-podcast-featured-header {
  display: flex;
  gap: 12px;
  padding: 20px 20px 8px;
  align-items: flex-start;
}

.feed-podcast-badge {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #1ed760;
  color: #0c2b18;
  font-size: 1.05rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.feed-podcast-featured-header > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.feed-podcast-featured-header > div > span {
  color: var(--feed-muted);
  font-size: 0.68rem;
  font-weight: 750;
}

body.home-feed-theme .feed-podcast-featured h2 {
  margin: 0;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.12rem, 1.9vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.34;
  text-wrap: pretty;
}

.feed-podcast-featured-description {
  display: -webkit-box;
  margin: 0;
  padding: 9px 20px 18px;
  overflow: hidden;
  color: #4f5c6c;
  font-size: 0.86rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.feed-podcast-player {
  overflow: hidden;
  border-top: 1px solid var(--feed-line);
  background: #121212;
}

.feed-podcast-player iframe {
  display: block;
  width: 100%;
  height: 112px;
  border: 0;
}

.feed-podcast-player--featured iframe {
  height: 152px;
}

.feed-podcast-archive {
  margin-top: 26px;
}

.feed-podcast-video-archive {
  margin-top: 30px;
}

.feed-podcast-video-heading {
  display: flex;
  margin-bottom: 9px;
  padding: 0 4px;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.feed-podcast-video-heading > div {
  display: grid;
  gap: 3px;
}

body.home-feed-theme .feed-podcast-video-heading h2 {
  margin: 0;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.feed-podcast-video-intro {
  margin: 0 4px 14px;
  color: var(--feed-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.feed-podcast-archive-heading {
  margin-bottom: 13px;
  padding: 0 4px;
}

body.home-feed-theme .feed-podcast-archive-heading h2 {
  margin: 0;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.feed-podcast-list {
  display: grid;
  gap: 14px;
}

.feed-podcast-episode > header {
  padding: 18px 20px 6px;
}

.feed-podcast-episode-meta {
  display: flex;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--feed-muted);
  font-size: 0.65rem;
  font-weight: 750;
}

.feed-podcast-episode-meta span:first-child {
  color: var(--feed-red);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home-feed-theme .feed-podcast-episode h3 {
  margin: 0;
  color: var(--feed-ink);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.38;
  text-wrap: pretty;
}

.feed-podcast-episode > p {
  display: -webkit-box;
  margin: 0;
  padding: 7px 20px 17px;
  overflow: hidden;
  color: #536071;
  font-size: 0.82rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.feed-podcast-episode > footer {
  display: flex;
  min-height: 45px;
  padding: 9px 20px;
  align-items: center;
  justify-content: flex-end;
}

.feed-podcast-episode > footer a {
  color: var(--feed-red);
  font-size: 0.7rem;
  font-weight: 900;
  text-decoration: none;
}

.feed-podcast-episode > footer a:hover,
.feed-podcast-episode > footer a:focus-visible {
  color: var(--feed-red-dark);
}

@media (max-width: 1304px) {
  .feed-page-grid {
    grid-template-columns: 220px minmax(0, 760px);
    width: min(100%, 1008px);
  }

  .feed-right-sidebar {
    display: none;
  }
}

/*
 * The two-column feed needs 1,056px once its page gutters are included.
 * Collapse before that point so the sidebar never pushes the stream off-screen.
 */
@media (max-width: 1060px) {
  .feed-site-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
  }

  .feed-site-header-actions,
  .feed-site-mobile-menu {
    display: none;
  }

  body.home-feed-theme {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .feed-mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: flex;
    width: 100%;
    min-height: calc(54px + env(safe-area-inset-bottom));
    margin: 0;
    padding: 2px 6px calc(2px + env(safe-area-inset-bottom));
    align-items: stretch;
    border: 0;
    border-top: 1px solid rgba(203, 211, 220, 0.96);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 28px rgba(24, 34, 48, 0.1);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    transform: translateY(0);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), visibility 220ms;
    will-change: transform;
  }

  .feed-mobile-bottom-nav.is-scroll-hidden {
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 2px));
  }

  .feed-mobile-bottom-nav:focus-within,
  .feed-mobile-bottom-nav:hover {
    visibility: visible;
    transform: none;
  }

  .feed-mobile-bottom-nav > :is(a, button) {
    position: relative;
    display: grid;
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 4px 2px 2px;
    place-items: center;
    align-content: center;
    gap: 2px;
    border-radius: 8px;
    color: var(--feed-muted);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
  }

  .feed-mobile-bottom-nav > button {
    margin: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .feed-mobile-bottom-nav > :is(a, button):hover,
  .feed-mobile-bottom-nav > :is(a, button):focus-visible {
    background: #f2f5f9;
    color: var(--feed-ink);
  }

  .feed-mobile-bottom-nav > :is(a, button).is-active {
    background: transparent;
    color: var(--feed-red);
  }

  .feed-mobile-bottom-nav > :is(a, button).is-active::before {
    position: absolute;
    top: -4px;
    right: 18%;
    left: 18%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: currentColor;
    content: "";
  }

  .feed-mobile-bottom-nav-icon {
    display: block;
    width: 21px;
    height: 21px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
  }

  .feed-mobile-notification-icon-wrap {
    position: relative;
    display: block;
  }

  .feed-mobile-notification-count {
    position: absolute;
    top: -6px;
    left: calc(100% - 3px);
    display: grid;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: var(--feed-red);
    color: #ffffff;
    font-size: 0.51rem;
    font-weight: 900;
    line-height: 1;
    box-sizing: border-box;
  }

  .feed-post-avatar {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .feed-site-mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-content: center;
    gap: 4px;
    border: 1px solid var(--feed-line);
    border-radius: 13px;
    background: #ffffff;
    cursor: pointer;
    list-style: none;
  }

  .feed-site-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .feed-site-mobile-menu summary > span {
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--feed-ink);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .feed-site-mobile-menu[open] summary > span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .feed-site-mobile-menu[open] summary > span:nth-child(2) {
    opacity: 0;
  }

  .feed-site-mobile-menu[open] summary > span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .feed-site-mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 100;
    display: grid;
    width: min(310px, calc(100vw - 28px));
    padding: 8px;
    border: 1px solid var(--feed-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(24, 34, 48, 0.16);
  }

  .feed-site-mobile-menu-panel a {
    display: flex;
    min-height: 46px;
    padding: 10px 12px;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    color: var(--feed-ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
  }

  .feed-site-mobile-menu-panel a:hover,
  .feed-site-mobile-menu-panel a:focus-visible,
  .feed-site-mobile-menu-panel a.is-active {
    color: var(--feed-red);
    background: #fff4f6;
  }

  .feed-page {
    padding: 18px 14px 56px;
  }

  .feed-page-grid {
    display: block;
    width: min(100%, 760px);
  }

  .feed-sidebar {
    display: none;
  }

  .feed-footer-alerts {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  body.home-feed-theme,
  body.home-feed-theme .feed-page,
  body.home-feed-theme .feed-stream {
    background: #ffffff;
  }

  .feed-site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 28px rgba(8, 20, 42, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow 180ms ease;
  }

  .feed-site-header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--feed-red) 0 34%, #282e6e 34% 43%, transparent 43%);
    content: "";
  }

  .feed-site-header-inner {
    display: grid;
    width: calc(100% - 28px);
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    transition: min-height 180ms ease;
  }

  .feed-site-brand {
    min-width: 0;
  }

  .feed-site-brand img {
    width: 38px;
    height: 38px;
    transition: width 180ms ease, height 180ms ease;
  }

  .feed-site-brand-copy {
    min-width: 0;
  }

  .feed-site-brand-copy strong {
    overflow: hidden;
    font-size: 0.96rem;
    text-overflow: ellipsis;
  }

  .feed-site-brand-copy small {
    display: block;
    overflow: hidden;
    font-size: 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .feed-site-mobile-account {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #e0e5ec;
    border-radius: 50%;
    background: #f4f7fa;
    color: #282e6e;
    transition: width 180ms ease, height 180ms ease, color 150ms ease, background-color 150ms ease;
  }

  .feed-site-mobile-account:hover,
  .feed-site-mobile-account:focus-visible {
    background: #fff0f3;
    color: var(--feed-red);
  }

  .feed-site-mobile-account svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .feed-site-header.is-compact {
    box-shadow: 0 5px 20px rgba(8, 20, 42, 0.1);
  }

  .feed-site-header.is-compact .feed-site-header-inner {
    min-height: 56px;
  }

  .feed-site-header.is-compact .feed-site-brand img {
    width: 32px;
    height: 32px;
  }

  .feed-site-header.is-compact .feed-site-mobile-account {
    width: 36px;
    height: 36px;
  }

  .feed-page {
    padding: 16px 0 calc(48px + env(safe-area-inset-bottom));
  }

  .project-feed-content > main.shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.home.home-feed-theme .feed-page {
    padding-top: 0;
  }

  .feed-page-grid {
    display: block;
    width: 100%;
  }

  .feed-intro-card {
    display: none;
  }

  .feed-intro-map {
    display: none;
  }

  .feed-intro-status {
    display: inline-flex;
    font-size: 0.59rem;
  }

  body.home-feed-theme .feed-intro-card h1 {
    max-width: none;
    font-size: 1.12rem;
    letter-spacing: -0.025em;
  }

  body.home-feed-theme .feed-intro-card > p {
    max-width: 48ch;
    margin: 0 0 3px;
    font-size: 0.69rem;
    line-height: 1.45;
  }

  .feed-intro-footer {
    margin-top: 1px;
  }

  .feed-intro-kicker {
    display: none;
  }

  .feed-intro-title-desktop,
  .feed-intro-copy-desktop {
    display: none;
  }

  .feed-intro-title-mobile,
  .feed-intro-copy-mobile {
    display: inline;
  }

  .feed-intro-topics {
    gap: 5px;
  }

  .feed-intro-topics > span {
    padding: 4px 8px;
    font-size: 0.57rem;
  }

  .feed-intro-archive-link {
    display: none;
  }

  .feed-stream-heading {
    margin: 0 16px 15px;
  }

  body.home.home-feed-theme .feed-stream-heading {
    display: none;
  }

  .feed-live-label {
    display: none;
  }

  .feed-stay-card {
    display: none;
  }

  .feed-stay-card,
  .feed-post,
  .feed-empty-state,
  .feed-end-card {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .feed-post-list {
    gap: 9px;
    padding-top: 9px;
    background: #f3f5f8;
  }

  .feed-post {
    border: 0;
    border-bottom: 1px solid #e3e7ec;
    background: #ffffff;
    box-shadow: none;
  }

  .feed-post--latest {
    border-top: 0;
  }

  .feed-post-header {
    gap: 10px;
    padding: 15px 16px 6px;
  }

  .feed-post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .feed-post-copy {
    margin-left: 62px;
    padding: 3px 16px 14px 0;
  }

  body.home-feed-theme .feed-post-copy h2,
  body.home-feed-theme .feed-video-post-copy h2 {
    font-size: 1.08rem;
    line-height: 1.36;
  }

  .feed-post-copy p {
    margin-top: 7px;
    font-size: 0.87rem;
    line-height: 1.55;
    -webkit-line-clamp: 4;
  }

  .feed-post-identity {
    font-size: 0.7rem;
  }

  .feed-post-name-row strong {
    font-size: 0.84rem;
  }

  .feed-post-media {
    width: calc(100% - 78px);
    margin: 0 16px 4px 62px;
    border: 1px solid #dfe4ea;
    border-radius: 14px;
  }

  body.home.home-feed-theme .feed-post-category,
  body.home.home-feed-theme .feed-post-meta-separator {
    display: none;
  }

  .feed-post-action {
    min-height: 34px;
    gap: 4px;
    padding: 5px 3px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: 0.62rem;
    font-weight: 800;
  }

  .feed-post-footer {
    width: calc(100% - 78px);
    min-height: 38px;
    margin: 7px 16px 8px 62px;
    padding: 2px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    border: 0;
    border-radius: 999px;
    background: #f5f7fa;
  }

  .feed-post-action--primary {
    justify-content: center;
    padding-left: 3px;
  }

  .feed-post-action:hover,
  .feed-post-action:focus-visible {
    background: #f2f5f8;
  }

  .feed-post-action--primary,
  .feed-post-action--primary:hover,
  .feed-post-action--primary:focus-visible,
  .article-like-button.is-liked {
    background: transparent;
  }

  .feed-post-action-icon,
  .article-like-button svg {
    width: 16px;
    height: 16px;
  }

  .feed-post-action--primary[aria-expanded="true"],
  .article-like-button.is-liked {
    background: rgba(200, 16, 46, 0.08);
  }

  body.home-feed-theme .feed-post-footer .article-like-button {
    gap: 6px;
    padding-right: 7px;
    padding-left: 7px;
  }

  body.home-feed-theme .feed-post-footer .article-like-button svg {
    margin-left: 2px;
  }

  body.home-feed-theme .feed-post-footer .article-like-count {
    min-width: 22px;
    margin-left: 1px;
    padding: 4px 7px;
  }

  [data-feed-reader-label] {
    font-size: 0;
  }

  [data-feed-reader-label]::after {
    content: "Read";
    font-size: 0.62rem;
  }

  .feed-post-action--primary[aria-expanded="true"] [data-feed-reader-label]::after {
    content: "Close";
  }

  .feed-inline-reader {
    width: calc(100% - 78px);
    margin: 0 16px 8px 62px;
    padding: 17px 0 14px;
  }

  .feed-inline-reader {
    padding: 19px 16px 17px;
  }

  .feed-inline-reader-body {
    font-size: 0.89rem;
    line-height: 1.64;
  }

  body.home.home-feed-theme .feed-newsletter-card {
    display: grid;
    gap: 12px;
    padding: 20px 16px;
    border-top: 4px solid var(--feed-red);
    border-bottom: 2px solid #dfe4ea;
    background: linear-gradient(135deg, #fff7f8 0%, #f4f7fb 78%);
  }

  .feed-newsletter-card-heading {
    display: flex;
    gap: 11px;
    align-items: center;
  }

  .feed-newsletter-card-icon {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: var(--feed-red);
    color: #ffffff;
    font-size: 0.92rem;
    box-shadow: 0 5px 14px rgba(159, 12, 36, 0.18);
  }

  .feed-newsletter-card-heading > div {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .feed-newsletter-card-kicker {
    color: var(--feed-red);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  body.home-feed-theme .feed-newsletter-card h2 {
    margin: 0;
    color: var(--feed-ink);
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.25;
  }

  .feed-newsletter-card > p {
    margin: 0;
    color: #536071;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .feed-newsletter-card-form {
    display: grid;
    gap: 9px;
  }

  .feed-newsletter-card-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .feed-newsletter-card-row input[type="email"] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cfd6df;
    border-radius: 11px;
    background: #ffffff;
    color: var(--feed-ink);
    font-size: 0.8rem;
    box-sizing: border-box;
  }

  .feed-newsletter-card-row input[type="email"]:focus {
    border-color: var(--feed-red);
    outline: 3px solid rgba(200, 16, 46, 0.12);
    outline-offset: 1px;
  }

  .feed-newsletter-card-row input::placeholder {
    color: #8a96a5;
  }

  .feed-newsletter-card-row button {
    min-height: 46px;
    padding: 10px 15px;
    border: 0;
    border-radius: 11px;
    background: var(--feed-red);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    cursor: pointer;
  }

  .feed-newsletter-card-row button:hover,
  .feed-newsletter-card-row button:focus-visible {
    background: var(--feed-red-dark);
  }

  .feed-newsletter-card-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #657284;
    font-size: 0.67rem;
    line-height: 1.42;
  }

  .feed-newsletter-card-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--feed-red);
  }

  .feed-newsletter-card-notice {
    padding: 9px 11px;
    border: 1px solid #efbcc5;
    border-radius: 10px;
    background: #ffffff;
    color: #8b2235;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .feed-newsletter-card-notice.is-success {
    border-color: #a9d7b8;
    color: #176b35;
  }

  .feed-video-heading {
    align-items: end;
    gap: 12px;
  }

  .feed-video-channel-link {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 0.62rem;
    line-height: 1;
  }

  .feed-video-channel-link--youtube {
    color: #ffffff;
    background: #e8002d;
    border-color: #e8002d;
    box-shadow: 0 4px 12px rgba(159, 12, 36, 0.2);
  }

  .feed-video-channel-link--youtube:hover,
  .feed-video-channel-link--youtube:focus-visible {
    color: #ffffff;
    background: var(--feed-red-dark);
    border-color: var(--feed-red-dark);
  }

  .feed-video-notice {
    margin: 0 16px 14px;
    border-radius: 10px;
  }

  .feed-video-list {
    gap: 14px;
    padding: 0 12px;
  }

  .feed-video-post {
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow:
      0 0 0 1px rgba(24, 34, 48, 0.035),
      0 5px 18px rgba(24, 34, 48, 0.115);
  }

  .feed-video-post:first-child {
    border-top: 0;
  }

  body.feed-video-page.home-feed-theme .feed-video-newsletter-card {
    display: grid;
    gap: 12px;
    padding: 18px 16px;
    border: 0;
    border-top: 3px solid var(--feed-red);
    border-radius: 12px;
    background: linear-gradient(135deg, #fff8f9 0%, #f7f9fc 78%);
    box-shadow:
      0 0 0 1px rgba(24, 34, 48, 0.035),
      0 5px 18px rgba(24, 34, 48, 0.105);
  }

  body.feed-video-page.home-feed-theme .feed-footer-alerts {
    display: none;
  }

  .feed-video-post-header {
    padding: 14px 16px 7px;
  }

  .feed-video-post-copy {
    padding: 9px 16px 15px;
  }

  .feed-video-post-footer {
    padding: 10px 16px;
  }

  .feed-podcast-heading {
    align-items: center;
  }

  .feed-podcast-featured,
  .feed-podcast-episode {
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow:
      0 0 0 1px rgba(24, 34, 48, 0.035),
      0 5px 18px rgba(24, 34, 48, 0.115);
  }

  .feed-podcast-featured {
    margin: 0 12px;
    border-top: 3px solid var(--feed-red);
  }

  .feed-podcast-featured-header {
    padding: 16px 16px 7px;
  }

  .feed-podcast-featured-description {
    padding: 8px 16px 16px;
    font-size: 0.84rem;
    -webkit-line-clamp: 4;
  }

  body.home-feed-theme .feed-podcast-featured h2 {
    font-size: 1.1rem;
    line-height: 1.36;
  }

  .feed-podcast-archive {
    margin-top: 24px;
  }

  .feed-podcast-video-archive {
    margin-top: 26px;
  }

  .feed-podcast-video-heading {
    padding: 0 16px;
    align-items: end;
  }

  body.home-feed-theme .feed-podcast-video-heading h2 {
    font-size: 1.12rem;
  }

  .feed-podcast-video-heading .feed-video-channel-link {
    flex: 0 0 auto;
  }

  .feed-podcast-video-intro {
    margin: 0 16px 13px;
    font-size: 0.75rem;
  }

  .feed-podcast-archive-heading {
    padding: 0 16px;
  }

  .feed-podcast-list {
    gap: 14px;
    padding: 0 12px;
  }

  .feed-podcast-episode {
    border: 0;
  }

  .feed-podcast-episode:last-child {
    border-bottom: 0;
  }

  .feed-podcast-episode > header {
    padding: 16px 16px 6px;
  }

  .feed-podcast-episode > p {
    padding: 7px 16px 16px;
    -webkit-line-clamp: 4;
  }

  .feed-podcast-episode > footer {
    padding: 9px 16px;
  }

  .feed-load-more {
    min-height: 54px;
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .feed-end-card {
    margin-top: 10px;
  }

  .feed-site-footer {
    padding: 0 16px max(20px, env(safe-area-inset-bottom));
  }

  body.home.home-feed-theme .feed-footer-alerts {
    display: none;
  }

  .feed-footer-alerts {
    gap: 14px;
    margin: 18px 0 28px;
    padding: 18px 16px;
    border-radius: 12px;
  }

  body.home-feed-theme .feed-footer-alerts h2 {
    font-size: 1.08rem;
  }

  .feed-footer-alerts-row {
    grid-template-columns: 1fr;
  }

  .feed-footer-alerts-row button {
    width: 100%;
  }

  .feed-footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 24px;
  }

  .feed-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    padding: 22px 0 0;
    border-top: 1px solid var(--feed-line);
    border-left: 0;
  }

  .feed-footer-links section:last-child {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, auto));
    justify-content: start;
  }

  .feed-footer-links section:last-child h2 {
    grid-column: 1 / -1;
  }

  .feed-footer-legal {
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
  }

  .feed-footer-legal p:last-child {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .feed-footer-links section:last-child {
    grid-template-columns: repeat(2, minmax(0, auto));
  }
}

@media (max-width: 340px) {
  .feed-post-action {
    gap: 2px;
    padding-right: 1px;
    padding-left: 1px;
    font-size: 0.55rem;
  }

  .feed-post-action-icon,
  .article-like-button svg {
    width: 17px;
    height: 17px;
  }

  .feed-newsletter-card-row {
    grid-template-columns: 1fr;
  }

  .feed-newsletter-card-row button {
    width: 100%;
  }

  .feed-site-brand-copy small {
    font-size: 0.5rem;
  }

  .feed-site-brand-copy strong {
    font-size: 0.82rem;
  }
}

/* Desktop article introductions should support reading rather than dominate the page. */
@media (min-width: 701px) {
  body.news-article-page.home-feed-theme .news-article-title-card h1 {
    max-width: 25ch !important;
    font-size: clamp(2rem, 3vw, 2.65rem) !important;
    line-height: 1.07 !important;
    letter-spacing: -0.025em !important;
    text-wrap: pretty;
  }

  body.news-article-page.home-feed-theme .news-article-title-card .news-article-standfirst {
    max-width: 62ch !important;
    margin-top: 0.8rem !important;
    color: #52617a;
    font-size: clamp(1rem, 1.3vw, 1.16rem) !important;
    font-weight: 550;
    line-height: 1.55 !important;
  }
}

/* Keep desktop article galleries compact and photographic rather than tall image columns. */
@media (min-width: 1025px) {
  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery,
    .single-listing__gallery
  ):not(.news-article-gallery--single):not(.single-listing__gallery--solo) {
    --article-mosaic-gap: clamp(7px, 0.65vw, 10px);
    display: grid !important;
    width: 100% !important;
    height: clamp(320px, 24vw, 420px) !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: var(--article-mosaic-gap) !important;
    align-items: stretch !important;
    overflow: hidden;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__figure--lead,
    .news-article-gallery__lead,
    .gallery-card--featured,
    .news-article-gallery__secondary-shell,
    .single-listing__secondary-shell
  ) {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__secondary-grid,
    .single-listing__secondary-grid
  ) {
    display: grid !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    gap: var(--article-mosaic-gap) !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__tile,
    .gallery-card--secondary
  ) {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__figure,
    .news-article-gallery__tile,
    .gallery-card,
    .news-article-gallery__figure img,
    .news-article-gallery__tile img,
    .gallery-card img
  ) {
    border-radius: 10px !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__figure img,
    .news-article-gallery__lead img,
    .news-article-gallery__tile img,
    .gallery-card img
  ) {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__secondary-grid--count-1,
    .single-listing__secondary-grid--count-1
  ) {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__secondary-grid--count-2,
    .single-listing__secondary-grid--count-2
  ) {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__secondary-grid--count-3,
    .single-listing__secondary-grid--count-3
  ) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .news-article-gallery__secondary-grid--count-3 .news-article-gallery__tile:first-child,
    .single-listing__secondary-grid--count-3 .gallery-card--secondary:first-child
  ) {
    grid-column: 1 / -1 !important;
  }
}

/* Mobile article pages stay flat and editorial so content begins quickly. */
@media (max-width: 700px) {
  body.news-article-page.home-feed-theme .project-feed-content > main.shell {
    padding-top: 0;
  }

  body.news-article-page.home-feed-theme .news-article-page-card {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body.news-article-page.home-feed-theme .news-article-title-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0.7rem 0 0.8rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    box-sizing: border-box;
  }

  body.news-article-page.home-feed-theme .news-article-title-card .article-breadcrumbs {
    margin: 0 0 0.45rem !important;
    color: #74809a;
    font-size: 0.62rem;
    font-weight: 750;
  }

  body.news-article-page.home-feed-theme .news-article-title-card h1 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(1.42rem, 6.35vw, 1.86rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.03em !important;
    text-align: left;
    text-wrap: pretty;
  }

  body.news-article-page.home-feed-theme .news-article-title-card .news-article-standfirst {
    margin: 0.65rem 0 0 !important;
    color: #52617a;
    font-size: 1rem !important;
    font-weight: 550;
    line-height: 1.48 !important;
  }

  body.news-article-page.home-feed-theme .news-article-title-card .news-article-meta {
    gap: 0.25rem 0.7rem;
    margin: 0.7rem 0 0 !important;
  }

  body.news-article-page.home-feed-theme .news-article-title-card .news-article-meta-item {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #778299;
    font-size: 0.61rem;
    font-weight: 750;
    line-height: 1.35;
  }

  body.news-article-page.home-feed-theme .news-article-title-card .news-article-meta-item--author {
    color: #273d72;
  }

  body.news-article-page.home-feed-theme .news-article-media-card {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card .news-article-gallery {
    width: calc(100% + 32px) !important;
    margin: 0 -16px 0.45rem !important;
    padding: 0 !important;
  }

  body.news-article-page.home-feed-theme .news-article-media-card :is(
    .gallery-card,
    .news-article-gallery__figure,
    .news-article-gallery__tile,
    .news-article-gallery__figure img,
    .news-article-gallery__tile img
  ) {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.news-article-page.home-feed-theme .news-article-body-card,
  body.news-article-page.home-feed-theme .news-article-body-section {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.news-article-page.home-feed-theme .news-article-body-section {
    padding: 0.8rem 0 0.35rem !important;
  }

  body.news-article-page.home-feed-theme .news-article-body {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  body.news-article-page.home-feed-theme .article-like-section {
    margin-top: 0.85rem;
  }

  body.news-article-page.home-feed-theme .article-author-box {
    margin-top: 0.85rem;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card {
    margin-top: 1.1rem;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card > .content-section {
    padding: 0 !important;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card .section-heading {
    margin-bottom: 0.75rem;
    padding: 0 12px;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card .news-card-grid {
    display: grid;
    gap: 0;
    padding: 0 0 0.25rem;
    background: transparent;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card .news-article-card {
    overflow: visible !important;
    border: 0 !important;
    border-top: 1px solid rgba(16, 43, 102, 0.1) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card .news-article-card-link {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    min-height: 96px;
    padding: 0.75rem 0;
    background: transparent !important;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card .news-article-card-image {
    width: 100%;
    height: 100%;
    min-height: 82px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px !important;
    background: #eef2f7 !important;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card .news-article-card-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card .news-article-card-copy {
    padding: 0.15rem 0 0.15rem 0.75rem;
  }

  body.news-article-page.home-feed-theme .news-article-read-next-card .news-article-card-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.news-article-page.home-feed-theme .feed-footer-alerts {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin: 18px 0 24px;
    padding: 16px;
    border: 1px solid rgba(16, 43, 102, 0.11);
    border-top: 3px solid var(--feed-red);
    border-radius: 15px;
    background: #ffffff;
    color: var(--feed-ink);
    box-shadow: 0 9px 24px rgba(16, 43, 102, 0.08);
  }

  body.news-article-page.home-feed-theme .feed-footer-alerts-kicker {
    margin-bottom: 3px;
    color: var(--feed-red);
    font-size: 0.58rem;
  }

  body.news-article-page.home-feed-theme .feed-footer-alerts h2 {
    margin-bottom: 0 !important;
    color: var(--feed-ink);
    font-size: 1rem;
  }

  body.news-article-page.home-feed-theme .feed-footer-alerts-copy > p {
    display: none;
  }

  body.news-article-page.home-feed-theme .feed-footer-alerts-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  body.news-article-page.home-feed-theme .feed-footer-alerts-row input[type="email"],
  body.news-article-page.home-feed-theme .feed-footer-alerts-row button {
    min-height: 42px;
    border-radius: 9px;
  }

  body.news-article-page.home-feed-theme .feed-footer-alerts-row input[type="email"] {
    border-color: rgba(16, 43, 102, 0.18);
    background: #f7f9fc;
  }

  body.news-article-page.home-feed-theme .feed-footer-alerts-row button {
    width: auto;
    padding-inline: 13px;
  }

  body.news-article-page.home-feed-theme .feed-footer-consent {
    margin-top: 7px;
    color: #6e7b91;
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-feed-theme .feed-post,
  .feed-post-media img,
  .feed-mobile-bottom-nav {
    transition: none;
  }

  body.home-feed-theme .feed-post:hover,
  body.home-feed-theme .feed-post:focus-within {
    transform: none;
  }
}

/* Authentication routes stay deliberately spare on phones. */
@media (max-width: 700px) {
  body.auth-page.home-feed-theme {
    padding-bottom: 0;
  }

  body.auth-page.home-feed-theme .feed-mobile-bottom-nav,
  body.auth-page.home-feed-theme .feed-footer-alerts {
    display: none;
  }

  body.auth-page.home-feed-theme .feed-page {
    min-height: 0;
    padding: 0;
    background: #ffffff;
  }

  body.auth-page.home-feed-theme .feed-page-grid {
    width: 100%;
  }

  body.auth-page.home-feed-theme .project-feed-content > main.shell {
    width: min(100%, 360px);
    max-width: 360px;
    margin-inline: auto;
    padding: 1.35rem 0.85rem 1rem;
  }

  body.auth-page.home-feed-theme .feed-site-footer {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  body.auth-page.home-feed-theme .feed-footer-main {
    display: block;
    padding: 18px 0 14px;
  }

  body.auth-page.home-feed-theme .feed-footer-brand > p,
  body.auth-page.home-feed-theme .feed-footer-socials,
  body.auth-page.home-feed-theme .feed-footer-links {
    display: none;
  }

  body.auth-page.home-feed-theme .feed-footer-brand-lockup img {
    width: 36px;
    height: 36px;
    border: 0;
  }

  body.auth-page.home-feed-theme .feed-footer-brand-lockup strong {
    font-size: 0.85rem;
  }

  body.auth-page.home-feed-theme .feed-footer-brand-lockup small {
    font-size: 0.56rem;
  }

  body.auth-page.home-feed-theme .feed-site-brand-copy small {
    display: block !important;
    overflow: hidden;
    font-size: 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.auth-page.home-feed-theme .feed-footer-legal {
    gap: 4px;
    padding-top: 11px;
  }
}

/* Keep the two promotional sidebar cards visually separate and their video art contained. */
@media (min-width: 1305px) {
  body.home-feed-theme .feed-right-sidebar {
    display: grid;
    gap: 24px;
    align-content: start;
  }

  body.home-feed-theme .feed-right-video-card .feed-right-stay-image {
    width: calc(100% - 16px);
    margin: 8px 8px 0;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--feed-line);
    border-radius: 10px;
    background: #111827;
  }

  body.home-feed-theme .feed-right-video-card .feed-right-stay-image img {
    object-fit: contain;
  }
}

/* Flatter editorial treatment: subtle structure without dashboard-style cards. */
@media (min-width: 701px) {
  .feed-stay-card,
  .feed-right-stay-card,
  .feed-right-stay-fallback,
  .feed-video-post,
  .feed-podcast-featured,
  .feed-podcast-episode,
  .feed-empty-state,
  .feed-end-card {
    border-radius: 8px;
    box-shadow: none;
  }

  .feed-footer-alerts {
    border-radius: 10px;
    box-shadow: none;
  }

  .feed-sidebar-link,
  .feed-site-stay-link,
  .feed-site-account-link,
  .feed-load-more,
  .feed-footer-socials a,
  .feed-footer-alerts-row input[type="email"],
  .feed-footer-alerts-row button {
    border-radius: 7px;
  }

  .feed-sidebar-link:hover,
  .feed-sidebar-link:focus-visible,
  .feed-sidebar-link.is-active {
    box-shadow: none;
  }

  body.home-feed-theme .feed-post-copy h2 {
    font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  }

  body.feed-video-page.home-feed-theme .feed-video-post,
  body.feed-podcast-page.home-feed-theme .feed-video-post,
  body.feed-podcast-page.home-feed-theme .feed-podcast-featured,
  body.feed-podcast-page.home-feed-theme .feed-podcast-episode {
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow:
      0 0 0 1px rgba(24, 34, 48, 0.035),
      0 5px 18px rgba(24, 34, 48, 0.115);
    transition: box-shadow 150ms ease, transform 150ms ease;
  }

  body.feed-podcast-page.home-feed-theme .feed-podcast-featured {
    border-top: 3px solid var(--feed-red);
  }

  body.feed-video-page.home-feed-theme .feed-video-post:hover,
  body.feed-video-page.home-feed-theme .feed-video-post:focus-within,
  body.feed-podcast-page.home-feed-theme .feed-video-post:hover,
  body.feed-podcast-page.home-feed-theme .feed-video-post:focus-within,
  body.feed-podcast-page.home-feed-theme .feed-podcast-featured:hover,
  body.feed-podcast-page.home-feed-theme .feed-podcast-featured:focus-within,
  body.feed-podcast-page.home-feed-theme .feed-podcast-episode:hover,
  body.feed-podcast-page.home-feed-theme .feed-podcast-episode:focus-within {
    box-shadow:
      0 0 0 1px rgba(24, 34, 48, 0.05),
      0 9px 26px rgba(24, 34, 48, 0.155);
    transform: translateY(-1px);
  }
}
