.editorial-feed {
  --editorial-paper: #faf8f4;
  --editorial-ink: #232421;
  --editorial-muted: #655f58;
  --editorial-line: #e3dad1;
  --editorial-coral: #fc7361;
  --editorial-link: #923a2d;
  --editorial-hover: #fff0eb;
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

.editorial-feed .feed-item {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: clamp(19px, 4vw, 44px) clamp(12px, 4vw, 32px) clamp(34px, 6vw, 64px);
}

.editorial-feed .feed-item ~ .feed-item { border-top: 1px solid var(--editorial-line); }
.editorial-measure { width: min(100%, 700px); margin-inline: auto; }
.editorial-wide { width: min(100%, 880px); margin-inline: auto; }

.editorial-feed .editorial-crumbs { padding: 0; margin: 0 auto; width: min(100%, 880px); background: transparent; }
.editorial-crumbs .container { width: 100%; max-width: none; padding: 0; }
.editorial-crumbs .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  color: var(--editorial-muted);
  font-size: .84rem;
}
.editorial-crumbs .breadcrumb .breadcrumb-item a { color: var(--editorial-link); font-size: inherit; text-decoration: underline; text-underline-offset: .22em; }
.editorial-crumbs .breadcrumb .breadcrumb-separator { color: var(--editorial-muted); font-size: inherit; }

.editorial-feed .editorial-lead {
  position: static;
  width: min(100%, 700px);
  padding: 0;
  margin-block: clamp(21px, 4vw, 42px) clamp(16px, 3vw, 25px);
  background: transparent;
}
.editorial-feed .editorial-title {
  margin: 0;
  color: var(--editorial-ink);
  font-size: clamp(2.1rem, 5vw, 4.35rem);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -.043em;
  overflow-wrap: anywhere;
}
.editorial-byline, .editorial-byline__identity {
  display: flex;
  align-items: center;
  gap: 9px 12px;
  min-width: 0;
}
.editorial-byline { margin-top: 17px; justify-content: space-between; flex-wrap: wrap; }
.editorial-byline__identity { align-items: center; }
.editorial-avatar { display: block; flex: none; border-radius: 50%; }
.editorial-feed .editorial-avatar img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: inherit;
  object-fit: cover;
}
.editorial-feed .author-card__avatar img { width: 54px; height: 54px; }
.editorial-byline__name { color: var(--editorial-ink); font-weight: 680; }
a.editorial-byline__name { text-decoration: underline; text-decoration-color: #c6a89c; text-underline-offset: .22em; }
a.editorial-byline__name:hover { color: var(--editorial-link); }
.editorial-byline small { display: block; color: var(--editorial-muted); font-size: .82rem; overflow-wrap: anywhere; }
.editorial-lead .block_date { display: flex; gap: 4px 15px; flex-wrap: wrap; margin-top: 12px; font-size: .86rem; }
.editorial-feed .editorial-deck { color: var(--editorial-muted); max-width: 62ch; margin: 9px 0 0; font-size: clamp(1rem, 2vw, 1.19rem); line-height: 1.52; overflow-wrap: anywhere; }

.editorial-feed .article-hero { margin-block: 0; }
.editorial-feed .article-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 2.6;
  object-fit: cover;
  object-position: center 54%;
  border-radius: 12px;
}
.editorial-feed .article-hero--insights .article-hero__img { aspect-ratio: auto; object-fit: contain; }
.editorial-feed .article-hero__caption {
  color: var(--editorial-muted);
  text-align: start;
  font-style: normal;
  overflow-wrap: anywhere;
}

.editorial-feed .editorial-body {
  margin-block: clamp(26px, 5vw, 48px) clamp(25px, 5vw, 43px);
  padding: 0;
  background: transparent;
  overflow-wrap: anywhere;
}
.editorial-body .user-custom-text { color: var(--editorial-ink); font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.68; }
.editorial-body .user-custom-text :is(p, li) { font-size: inherit; line-height: inherit; }
.editorial-body .user-custom-text :is(h2, h3, h4) {
  margin: 1.42em 0 .42em;
  color: var(--editorial-ink);
  font-size: clamp(1.24rem, 2.65vw, 1.7rem);
  line-height: 1.23;
  letter-spacing: -.025em;
}
.editorial-body .user-custom-text > :first-child { margin-top: 0; }
.editorial-body .user-custom-text img,
.editorial-body .user-custom-text video,
.editorial-body .user-custom-text iframe { max-width: 100%; }
.editorial-body .user-custom-text figcaption { color: var(--editorial-muted); font-style: normal; }
.editorial-feed :is(.editorial-prose, .article-hero__caption) a {
  color: var(--editorial-link);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.editorial-feed .editorial-prose a:hover { text-decoration-thickness: 2px; }

.editorial-feed .editorial-control,
.editorial-feed .editorial-control.follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #d9cec2;
  border-radius: 8px;
  background: #fff;
  color: var(--editorial-ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.editorial-control svg { flex: none; width: 18px; height: 18px; }
.editorial-feed .editorial-control:hover,
.editorial-feed .editorial-control.follow-btn:hover {
  background: var(--editorial-hover);
  border-color: #cb8572;
  color: var(--editorial-link);
}
.editorial-feed :is(.editorial-control.following, .editorial-like.liked) {
  border-color: #d79889;
  background: var(--editorial-hover);
  color: var(--editorial-link);
}
.editorial-feed .editorial-control:is(.spotted_a_mistake, .editorial-like) { color: var(--editorial-link); }
.editorial-body .editorial-control.spotted_a_mistake { margin-top: 13px; white-space: normal; }
.editorial-like svg path { stroke: currentColor; }
.editorial-like.liked svg path, .editorial-feed .article-sticky-bar a.liked svg path { fill: currentColor; }
.editorial-like [data-counter]:empty { display: none; }
.editorial-feed :is(.editorial-control, .editorial-card, .editorial-rail__controls button):focus-visible {
  outline: 2px solid var(--editorial-link);
  outline-offset: 3px;
}

.editorial-end .author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 14px;
  padding: clamp(13px, 3vw, 22px);
  border: 1px solid #e3cabe;
  border-radius: 12px;
  background: #f7eae1;
}
.editorial-author-label { display: block; color: #625246; font-size: .78rem; font-weight: 600; line-height: 1.25; }
.editorial-end .author-card__name { margin: 2px 0 0; color: var(--editorial-ink); font-size: 1.12rem; font-weight: 700; overflow-wrap: anywhere; }
.editorial-end .author-card__bio { margin: 4px 0 0; color: var(--editorial-muted); font-size: .91rem; line-height: 1.42; overflow-wrap: anywhere; }
.editorial-author-followers { display: block; margin-top: 4px; color: var(--editorial-muted); font-size: .79rem; }
.editorial-author-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.editorial-engagement, .editorial-topics, .editorial-feed .article-engagement-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 9px;
  min-width: 0;
}
.editorial-engagement { justify-content: space-between; margin-top: 12px; }
.editorial-topics { max-width: 100%; }
.editorial-topics > span { color: var(--editorial-muted); font-size: .82rem; font-weight: 550; }
.editorial-topics > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid #dfbbae;
  border-radius: 8px;
  color: var(--editorial-link);
  background: var(--editorial-hover);
  font-size: .85rem;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.editorial-topics > a:hover { background: #f8dbd0; border-color: #cb8572; }
.editorial-feed .article-engagement-row { margin-left: auto; }
.editorial-feed :is(.article-engagement-like, .article-like-avatars) { display: flex; align-items: center; gap: 6px; }
.editorial-feed .article-like-avatars { gap: 0; }
.editorial-feed .article-like-avatar { flex: 0 0 26px; width: 26px; height: 26px; border: 2px solid #fff; border-radius: 50%; overflow: hidden; }
.editorial-feed .article-like-avatar + .article-like-avatar { margin-inline-start: -8px; }
.editorial-feed .article-like-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial-feed .article-like-more { color: var(--editorial-muted); }

.editorial-rail, .editorial-comments { margin-block-start: clamp(30px, 5vw, 47px); }
.editorial-rail__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 10px;
}
.editorial-rail__heading :is(h2, h3) {
  margin: 0;
  color: var(--editorial-ink);
  font-size: clamp(1.28rem, 2.6vw, 1.68rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.editorial-rail__controls:not([hidden]) { display: flex; gap: 6px; }
.editorial-rail__controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--editorial-line);
  border-radius: 8px;
  background: #fff;
  color: var(--editorial-link);
  cursor: pointer;
}
.editorial-rail__controls button:hover:not(:disabled) { background: var(--editorial-hover); border-color: #cb8572; }
.editorial-rail__controls button:disabled { cursor: default; color: var(--editorial-muted); opacity: .65; }
.editorial-rail__controls svg { width: 17px; height: 17px; }
.editorial-related-slider { padding: 4px; margin: -4px; }
.editorial-related-slider .swiper-slide { height: auto; display: flex; min-width: 0; }
.editorial-related-slider .swiper-slide > .editorial-card { flex: 1; }
.editorial-related-slider:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 3);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.editorial-related-slider:not(.swiper-initialized) .swiper-slide { scroll-snap-align: start; }

.editorial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--editorial-line);
  border-radius: 11px;
  background: #fff;
  color: var(--editorial-ink);
  text-decoration: none;
  overflow: hidden;
}
.editorial-card:hover { border-color: #cb8572; color: var(--editorial-link); }
.editorial-card img { display: block; width: 100%; height: auto; aspect-ratio: 2.18; object-fit: cover; }
.editorial-card__copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; overflow-wrap: anywhere; }
.editorial-card__type { color: var(--editorial-link); font-size: .79rem; font-weight: 670; }
.editorial-card strong { font-size: 1rem; font-weight: 680; line-height: 1.28; }
.editorial-card time { margin-top: auto; color: var(--editorial-muted); font-size: .81rem; }
.editorial-card--text { background: #f5efe7; }
.editorial-card--text .editorial-card__copy { padding: 14px; min-height: 112px; }
.editorial-card--text p { margin: 0; font-size: .88rem; line-height: 1.4; color: var(--editorial-muted); }

.editorial-rail--news { border-top: 1px solid var(--editorial-line); padding-top: 18px; }
.editorial-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.editorial-card--compact { display: grid; grid-template-columns: clamp(78px, 26%, 120px) minmax(0, 1fr); }
.editorial-card--compact img { height: 100%; min-height: 94px; aspect-ratio: auto; }
.editorial-news-grid > .editorial-card--text .editorial-card__copy { min-height: 94px; }

.editorial-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 13px;
  padding: clamp(13px, 3vw, 22px);
  border: 1px solid var(--editorial-line);
  border-radius: 11px;
  background: #fff;
}
.editorial-state__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--editorial-hover);
  color: var(--editorial-link);
}
.editorial-state__icon svg { width: 22px; height: 22px; }
.editorial-state__copy p { margin: 0; overflow-wrap: anywhere; font-size: .92rem; line-height: 1.45; color: var(--editorial-muted); }
.editorial-state__copy .editorial-state__title { margin-bottom: 3px; color: var(--editorial-ink); font-size: 1.03rem; font-weight: 700; }
.editorial-feed .editorial-feed-status { width: min(calc(100% - 24px), 700px); margin: 0 auto 22px; }
.editorial-feed-status .editorial-control { justify-self: start; }
.editorial-feed-status--error { border-color: #e3afa0; }
.editorial-feed-status--loading { grid-template-columns: auto minmax(0, 1fr); }
.editorial-feed-status--loading .editorial-state__icon::before { content: ""; width: 18px; height: 18px; border: 2px solid #e4bbb0; border-top-color: var(--editorial-link); border-radius: 50%; }
.editorial-feed .stopper { height: 1px; }

@media (max-width: 720px) {
  .editorial-related-slider:not(.swiper-initialized) .swiper-wrapper { grid-auto-columns: calc((100% - 12px) / 2); }
}
@media (max-width: 600px) {
  .editorial-feed .article-hero__img { aspect-ratio: 1.85; }
  .editorial-feed .article-hero--insights .article-hero__img { aspect-ratio: auto; }
  .editorial-end .author-card, .editorial-state { grid-template-columns: auto minmax(0, 1fr); }
  .editorial-author-actions, .editorial-state > .editorial-control { grid-column: 2; }
  .editorial-engagement { align-items: flex-start; }
  .editorial-engagement > * { width: 100%; }
  .editorial-feed .article-engagement-row { justify-content: space-between; margin-left: 0; }
  .editorial-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .editorial-related-slider:not(.swiper-initialized) .swiper-wrapper { grid-auto-columns: min(75%, 235px); }
}
@media (prefers-reduced-motion: no-preference) {
  .editorial-feed-status--loading .editorial-state__icon::before { animation: editorial-spinner .8s linear infinite; }
}
@keyframes editorial-spinner { to { transform: rotate(360deg); } }
