#fn-real-home .ff-story-page {
  width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: clamp(20px, 2.8vw, 44px) var(--ff-page-gutter) 60px;
}

#fn-real-home .ff-crumbs,
#fn-real-home .ff-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ff-muted);
  font-size: 13px;
}
#fn-real-home .ff-crumbs { margin-bottom: clamp(22px, 2.8vw, 38px); }
#fn-real-home .ff-crumbs a:last-child { color: var(--ff-accent); }
#fn-real-home .ff-story-page a:hover { text-decoration: underline; }
#fn-real-home .ff-topnav a:first-child:not([aria-current]) { color: inherit; }
#fn-real-home :is(.ff-topnav, .ff-mobile-menu) a[aria-current] { color: var(--ff-accent); }

#fn-real-home .ff-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ff-sidebar-width);
  gap: 32px var(--ff-column-gap);
  align-items: start;
  justify-content: space-between;
}
#fn-real-home .ff-story { min-width: 0; margin: 0; }
#fn-real-home .ff-story-column { display: grid; min-width: 0; gap: 32px; }
#fn-real-home .ff-story-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ff-line);
  margin-bottom: 24px;
}
#fn-real-home .ff-story h1 {
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.06;
  font-weight: 750;
  letter-spacing: -.043em;
  text-wrap: balance;
}
#fn-real-home .ff-byline { margin-top: 19px; }
#fn-real-home .ff-byline a { color: var(--ff-ink); font-weight: 700; }
#fn-real-home .ff-story-cover,
#fn-real-home .ff-story-format { margin: 0 0 24px; }
#fn-real-home .ff-story-cover img { width: 100%; height: auto; border-radius: var(--ff-radius); }
#fn-real-home .ff-guide-contents {
  margin: 0 0 23px;
  padding: 15px 18px;
  border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius);
  background: var(--ff-panel);
}
#fn-real-home .ff-guide-contents h2 { font-size: 17px; font-weight: 800; }
#fn-real-home .ff-guide-contents ul { display: flex; flex-wrap: wrap; gap: 5px 18px; padding: 0; margin: 8px 0 0; list-style: none; }
#fn-real-home .ff-guide-contents a { color: var(--ff-accent); }
#fn-real-home .ff-story-text h2[id] { scroll-margin-top: 16px; }

#fn-real-home .ff-story-text {
  display: flow-root;
  padding: 0;
  margin: 0;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.64;
}
#fn-real-home .ff-story-text > * { max-width: 100%; }
#fn-real-home .ff-story-text > * + *,
#fn-real-home .ff-story-text li + li { margin-top: .9em; }
#fn-real-home .ff-story-text p,
#fn-real-home .ff-story-text :is(ul,ol) { max-width: 76ch; }
#fn-real-home .ff-story-text :is(h2,h3,h4) { font-weight: 700; line-height: 1.2; margin-block: 1.3em .5em; }
#fn-real-home .ff-story-text h2 { font-size: 1.55em; }
#fn-real-home .ff-story-text h3 { font-size: 1.25em; }
#fn-real-home .ff-story-text a { color: var(--ff-accent); text-decoration: underline; text-underline-offset: .16em; }
#fn-real-home .ff-story-text ul { list-style: disc; padding-inline-start: 1.4em; }
#fn-real-home .ff-story-text ol { list-style: decimal; padding-inline-start: 1.4em; }
#fn-real-home .ff-story-text li + li { margin-top: .2em; }
#fn-real-home .ff-story-text figure { margin-inline: 0; }
#fn-real-home .ff-story-text img { max-width: 100%; height: auto; }
#fn-real-home .ff-story-text figure img { border-radius: 6px; }
#fn-real-home .ff-image-open { cursor: zoom-in; }
#fn-real-home .ff-image-open:focus-visible { outline: 2px solid var(--ff-accent); outline-offset: 3px; }
#fn-real-home .ff-image-viewer {
  position: fixed; inset: 0; width: min(1200px, calc(100% - 20px)); max-width: none;
  max-height: calc(100dvh - 20px); margin: auto; padding: 10px;
  color: #f7f4f9; background: #1d1a24; border: 1px solid #4e4558; border-radius: 8px;
}
#fn-real-home .ff-image-viewer:not([open]), #fn-real-home .ff-image-viewer [hidden] { display: none; }
#fn-real-home .ff-image-viewer::backdrop { background: #100a17de; }
#fn-real-home .ff-image-viewer-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
#fn-real-home .ff-image-stage { display: flex; align-items: center; gap: 5px; }
#fn-real-home .ff-image-stage figure { flex: 1; min-width: 0; margin: 0; text-align: center; }
#fn-real-home .ff-image-stage img { width: 100%; height: auto; max-height: calc(100dvh - 140px); object-fit: contain; }
#fn-real-home .ff-image-stage figcaption { margin-top: 8px; color: #d8cfe0; }
#fn-real-home .ff-image-viewer button {
  display: grid; place-items: center; flex: none; width: clamp(36px,5vw,44px); min-height: 44px;
  font: 26px/1 Arial,sans-serif; color: inherit; background: #302938; border: 1px solid #776883; border-radius: 6px; cursor: pointer;
}
html:has(.ff-image-viewer[open]) { overflow: hidden; }
#fn-real-home .ff-story-text figcaption,
#fn-real-home .ff-story-text .wp-caption-text { color: var(--ff-muted); font-size: .8em; line-height: 1.4; margin-top: .6em; }
#fn-real-home .ff-story-text .wp-caption { max-width: 100% !important; }
#fn-real-home .ff-story-text :is(iframe,video,audio) { max-width: 100%; }
#fn-real-home .ff-story-text .wp-block-table,
#fn-real-home .ff-story-text pre { overflow-x: auto; }
#fn-real-home .ff-story-text > table { display: block; overflow-x: auto; }
#fn-real-home .ff-story-text :is(th,td) { padding: .4em .65em; border: 1px solid var(--ff-line); }
#fn-real-home .ff-story-text blockquote { margin-inline: 0; padding-inline-start: 1em; border-inline-start: 3px solid var(--ff-accent); }

#fn-real-home .ff-story-tags,
#fn-real-home .ff-story-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
#fn-real-home .ff-story-tags a { border: 1px solid var(--ff-line); padding: 4px 9px; border-radius: 5px; font-size: 13px; }

#fn-real-home .ff-related { border-top: 2px solid var(--ff-accent); padding-top: 18px; }
#fn-real-home .ff-related ul { margin: 0; padding: 0; list-style: none; }
#fn-real-home .ff-related li + li { border-top: 1px solid var(--ff-line); }
#fn-real-home .ff-related-item { display: flex; align-items: center; gap: 15px; padding: 12px 0; }
#fn-real-home .ff-related-item img { width: 78px; height: 54px; flex: none; object-fit: cover; border-radius: 5px; }
#fn-real-home .ff-related-item time { display: block; margin-bottom: 4px; font-size: 12px; color: var(--ff-muted); }
#fn-real-home .ff-related-item strong { font-size: 16px; line-height: 1.3; }

#fn-real-home .ff-discussion { grid-column: 1; min-width: 0; border-top: 1px solid var(--ff-line); padding-top: 22px; }
#fn-real-home .ff-discussion #comments { margin: 0; }
#fn-real-home .ff-discussion #commentform { background: transparent; padding: 0; }
#fn-real-home .ff-discussion :is(.fn,.comment-body p) { color: var(--ff-ink); }
#fn-real-home .ff-discussion .comment-tabs a { background: var(--ff-panel); color: var(--ff-muted); }
#fn-real-home .ff-discussion .comment-tabs .active a { color: var(--ff-ink); }
#fn-real-home .ff-discussion .comment-tabs span { background: var(--ff-bg); }
#fn-real-home .ff-discussion :is(#reply-title,.heading) { color: var(--ff-ink); margin-bottom: 14px; font-size: 22px; font-weight: 700; }
#fn-real-home .ff-discussion :is(p,label,.comment-meta) { color: var(--ff-muted); }
#fn-real-home .ff-discussion .comment-form > p { margin-bottom: 10px; }
#fn-real-home .ff-discussion :is(input:not([type=checkbox]):not([type=submit]),textarea) {
  background: var(--ff-panel); color: var(--ff-ink); border: 1px solid var(--ff-line); border-radius: 5px; width: 100%; max-width: 100%;
}
#fn-real-home .ff-discussion textarea { min-height: 90px; height: 110px; }
#fn-real-home .ff-discussion :is(textarea,input):focus-visible { outline: 2px solid var(--ff-accent); outline-offset: 2px; }
#fn-real-home .ff-discussion :is(.submit,input[type=submit]) { background: var(--ff-fill); color: white; border: 0; border-radius: 5px; }

@media (max-width: 1023px) {
  #fn-real-home .ff-story-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  #fn-real-home .ff-story h1 { font-size: clamp(29px, 6vw, 43px); }
}
