/* Same compact image-right reading rhythm as the archive, in Matchday's palette. */
[data-story-visual-row]{
  --story-visual-inline:clamp(76px,25vw,112px);
  --story-visual-gap:clamp(.55rem,2.3vw,1rem);
  --story-visual-inset:.75rem;
  position:relative;isolation:isolate;box-sizing:border-box;min-width:0;
  min-height:calc(var(--story-visual-inline) * .667 + 2 * var(--story-visual-inset));
  padding-block:var(--story-visual-inset);
  padding-inline-start:var(--story-visual-inset);
  padding-inline-end:calc(var(--story-visual-inline) + var(--story-visual-gap) + var(--story-visual-inset));
  overflow-wrap:anywhere;
}
.story-visual-media{
  aspect-ratio:1.5;overflow:hidden;display:block;position:relative;width:100%;min-width:0;
  border-radius:.45rem;background:#24384f;color:#fff;
}
[data-story-visual-row] > .story-visual-media{
  width:var(--story-visual-inline);position:absolute;inset-inline-end:var(--story-visual-inset);
  inset-block-start:var(--story-visual-inset);
}
.story-visual-media > :is(img,svg){
  display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;
}
.story-visual-media.is-illustration{background:var(--story-art-base,#24384f)}
.story-visual-media svg{padding:.3rem .25rem;fill:none;stroke-linecap:round;stroke-linejoin:round}
.story-art-pitch{stroke:var(--story-art-light,#d6e7f5);stroke-width:1.6;opacity:.42}
.story-art-detail{stroke:var(--story-art-accent,#a6d2ea);stroke-width:3}
[data-story-visual-row] .story-visual-title{
  display:inline-block;min-height:44px;align-content:center;overflow-wrap:anywhere;line-height:1.29;
  text-decoration:none;text-underline-offset:.15em;
}
.story-visual-title:hover,.story-visual-title:focus-visible{text-decoration:underline}
.story-visual-title:focus-visible,.story-visual-credit a:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}
.story-visual-credit{margin:.25rem 0 0;font-size:.75rem;line-height:1.4;color:#526476}
.story-visual-credit a{display:inline;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:.12em}
[data-story-visual-row] .story-visual-credit{font-size:.72rem}
.headline-feed > li[data-story-visual-row] .story-visual-credit a{display:inline;color:inherit;font:inherit;min-height:0;text-decoration:underline;overflow:visible}
[data-story-visual-row] .story-visual-credit a::after{content:none}

ul.headline-feed:has(>li[data-story-visual-row]){display:block;border:1px solid #d7e1e8;border-radius:12px;margin-block:.75rem 1rem;overflow:hidden}
.headline-feed > li[data-story-visual-row]{
  display:block;padding:.75rem calc(var(--story-visual-inline) + var(--story-visual-gap) + .75rem) .75rem .75rem;
  border:0;border-radius:0;background:#fff;color:#17283d;
}
.headline-feed > li[data-story-visual-row]:not(:first-child){border-top:1px solid #dce4eb}
.headline-feed > li[data-story-visual-row] > *{margin-inline:0}
.headline-feed > li[data-story-visual-row] .feed-meta{display:block;margin:.04rem 0;color:#4d6074}
.headline-feed > li[data-story-visual-row] > a.story-visual-title{
  display:inline-block;color:#17283d;max-width:none;overflow:visible;-webkit-line-clamp:unset;
  font-size:clamp(1.02rem,.86rem + .7vw,1.3rem);font-weight:760;
}
.headline-feed > li[data-story-visual-row] > a::after{content:none}
.headline-feed > li[data-story-visual-row] .feed-deck{color:#4a5c70;font-size:.92rem}
.headline-feed > li[data-story-visual-row] .feed-reactions button{color:#17344c;border-color:#6b8194}
.headline-feed > li[data-story-visual-row] .feed-reactions button[aria-pressed="true"]{background:#17344c;color:#fff}
.has-matchday-cover .headline-feed > li.matchday-cover-lead{border:0;border-radius:11px 11px 0 0}
.has-matchday-cover .headline-feed > li.matchday-cover-companion[data-story-visual-row]{display:block}
.headline-feed > li[data-story-visual-row] > .matchday-cover-related{margin:.25rem 0 0}

.front-page-feature[data-story-visual-lead]{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr);
  column-gap:clamp(.7rem,3.2vw,2.5rem);row-gap:.85rem;min-height:0;
  align-items:start;align-content:center;overflow:visible;
}
[data-story-visual-lead] .front-page-feature-top,[data-story-visual-lead] .front-page-feature-copy{grid-column:1;min-width:0}
[data-story-visual-lead] .front-page-feature-copy h2{overflow-wrap:anywhere}
[data-story-visual-lead] .front-page-feature-copy h2 a::after{display:block}
.front-page-feature .story-visual-lead-figure .story-visual-credit{position:relative;z-index:2}
.story-visual-lead-figure{margin:0;min-width:0}
.front-page-feature .story-visual-lead-figure{grid-column:2;grid-row:1/3;align-self:center}
.front-page-feature .story-visual-credit,.front-page-feature .story-visual-credit a{color:#d9e7f3}
[data-story-visual-lead] .story-visual-media{aspect-ratio:1.5}
[data-story-visual-lead] .story-visual-media img{object-fit:contain;background:#17263b}
.front-page-directory .club-latest-link[data-story-visual-row]{
  --story-visual-inline:clamp(67px,21vw,96px);--story-visual-inset:.65rem;
  padding:.65rem calc(var(--story-visual-inline) + var(--story-visual-gap) + .65rem) .65rem .85rem;gap:.25rem;
}
.front-page-directory .club-latest-link[data-story-visual-row] .front-page-story-arrow{display:none}
.front-page-directory .club-latest-credit{padding:0 .85rem .35rem;margin-top:0}
.front-page-follow-story[data-story-visual-row]{
  padding:.75rem calc(var(--story-visual-inline) + var(--story-visual-gap) + .75rem) .75rem .75rem;
}
.supporter-home .supporter-home-card[data-story-visual-row]{
  --story-visual-inline:clamp(65px,19vw,82px);
  padding:.72rem calc(var(--story-visual-inline) + var(--story-visual-gap) + .75rem) .72rem .75rem;
}
.supporter-home .supporter-home-card[data-story-visual-row] > :is(h3,p,time){min-width:0;overflow-wrap:anywhere}

.club-lead-hero[data-story-visual-lead] .hero-link{min-height:44px}
.club-lead-hero[data-story-visual-lead] .hero-copy{padding-right:1rem}
.club-lead-hero[data-story-visual-lead] .story-visual-media{margin:.7rem .85rem .7rem 0;width:calc(100% - .85rem);align-self:center}
.club-lead-hero[data-story-visual-lead] .story-visual-media img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;border-radius:0}
.club-lead-hero[data-story-visual-lead] .story-visual-credit{padding:0 .85rem .6rem}

.supporter-update-list .update-entry[data-story-visual-row],
.transfer-stories > li > article[data-story-visual-row],
.guide-archive .story-index > li[data-story-visual-row],
.digest-lead[data-story-visual-row],
.launch-reading > li[data-story-visual-row],
.related-reading ul > li[data-story-visual-row],
.supporter-file > ul > li[data-story-visual-row],
.supporter-file > p[data-story-visual-row],
#other-match-previews > li[data-story-visual-row]{
  padding:.75rem calc(var(--story-visual-inline) + var(--story-visual-gap) + .75rem) .75rem .75rem;
}
.guide-archive .story-index > li[data-story-visual-row],
.launch-reading > li[data-story-visual-row],
.related-reading ul > li[data-story-visual-row],
.supporter-file > ul > li[data-story-visual-row],
#other-match-previews > li[data-story-visual-row]{list-style:none;border-bottom:1px solid #dce4eb}
.supporter-file:has(>ul>li[data-story-visual-row])>ul,#other-match-previews{padding-inline-start:0}
#other-match-previews [data-story-visual-row] > time{display:block}

.full-article .story-article-archive{
  border-radius:12px;overflow:hidden;border:1px solid #d7e1e8;margin-block:1.1rem;
}
.full-article .story-article-archive img{width:100%;height:auto;max-height:31rem;object-fit:contain;background:#16283e}
.full-article .story-article-archive figcaption{padding:.4rem .65rem .55rem;margin:0}

@media(max-width:767px){
  .front-page-feature[data-story-visual-lead]{grid-template-columns:minmax(0,1fr) clamp(84px,30vw,150px);padding:.85rem}
  .front-page-feature .story-visual-lead-figure{grid-row:2;align-self:start}
  [data-story-visual-lead] .front-page-feature-top{grid-column:1/-1;flex-wrap:wrap}
  [data-story-visual-lead] .front-page-feature-copy h2{font-size:clamp(1.2rem,5.3vw,1.8rem);line-height:1.16;margin-top:0}
  [data-story-visual-lead] .front-page-feature-deck{font-size:.88rem;line-height:1.35}
  .front-page-feature .story-visual-credit{font-size:.67rem;overflow-wrap:anywhere}
  .club-lead-hero[data-story-visual-lead] .hero-link{grid-template-columns:minmax(0,1fr) clamp(84px,28vw,150px)}
  .club-lead-hero[data-story-visual-lead] .hero-copy{padding:.75rem .55rem .75rem .8rem}
  .club-lead-hero[data-story-visual-lead] .hub-kicker{padding-right:0}
  .club-lead-hero[data-story-visual-lead] .lead-headline{font-size:clamp(1.2rem,5.3vw,1.7rem)}
  .club-lead-hero[data-story-visual-lead] .hub-lead-deck{font-size:.9rem}
  .club-lead-hero[data-story-visual-lead] .story-visual-media{align-self:start}
}
