/* The editorial panel and archive heading belong only to the selected topic. */
.ff-topic-links.ff-category-feature[hidden],#franchise-resource-links[hidden] ~ .ffc-feed-heading{display:none!important}
.ff-topic-links.ff-category-feature:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(17.5rem,32%);gap:0;margin:1.12rem 0 1.6rem;padding:0;overflow:hidden;border:1px solid #d7d3c4;border-radius:.75rem;background:#fbf8ef;color:#233b49;box-shadow:0 7px 20px rgb(20 47 64 / 7%)}
.ff-category-feature .ffc-copy{padding:1.4rem clamp(1rem,3vw,2rem);align-self:center;min-width:0}
.ff-category-feature .ffc-copy .ffc-kicker,.ffc-feed-heading .ffc-feed-kicker{margin:0 0 .35rem;color:#75521f;text-transform:uppercase;letter-spacing:.095em;font-size:.76rem;font-weight:800}
.ff-category-feature .ffc-copy h3{font:400 clamp(1.65rem,4vw,2.5rem)/1.08 Georgia,"Times New Roman",serif;color:#142f40;letter-spacing:-.022em;margin:0 0 .5rem;text-wrap:balance}
.ff-category-feature .ffc-copy p{font-size:1rem;line-height:1.5;margin:.24rem 0 0;max-width:45ch}
.ff-category-feature .ffc-copy nav{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1rem;margin-top:.85rem}
.ff-topic-links.ff-category-feature .ffc-copy a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;border:0;background:none;color:#145c60;text-decoration:underline;text-underline-offset:.17em;font-size:.92rem;font-weight:750}
.ff-category-feature .ffc-copy a:focus-visible{outline:3px solid #925d12;outline-offset:2px}
.ff-topic-links.ff-category-feature .ffc-copy a.ffc-primary{gap:.5rem;background:#173f50;color:#fff;border:1px solid #173f50;border-radius:5px;padding:.49rem .75rem;line-height:1.35;text-decoration:none}
.ff-topic-links.ff-category-feature .ffc-copy a.ffc-primary:hover{background:#205467;text-decoration:underline}
.ff-category-feature .ffc-graphic{display:grid;grid-template-columns:minmax(0,1fr);gap:.1rem;align-content:center;margin:0;padding:.85rem 1.1rem 1.04rem;color:#fdfbf6;background:#142f40;border-left:2px solid #ad8849;min-width:0}
.ff-category-feature .ffc-graphic img{display:block;width:100%;height:auto;max-height:7.2rem;object-fit:contain}
.ff-category-feature .ffc-graphic p{margin:.25rem 0 0;font-size:.79rem;line-height:1.32;color:#edf2f1;text-align:center}
.ff-category-feature .ffc-graphic strong,.ff-category-feature .ffc-graphic span{display:block}
.ff-category-feature .ffc-graphic strong{font-size:1.07rem;line-height:1.2;margin-bottom:.25rem;color:#f9d794}
.ffc-feed-heading{border-bottom:1px solid #d7d3c4;padding:0 0 .7rem;margin:0 0 .85rem}
.ffc-feed-heading h3{font:400 clamp(1.5rem,3vw,1.95rem)/1.15 Georgia,"Times New Roman",serif;color:#142f40;margin:0 0 .23rem;letter-spacing:-.015em}
.ffc-feed-heading p:last-child{color:#475e64;font-size:.91rem;line-height:1.45;margin:0}
@media(max-width:43rem){
 .ff-topic-links.ff-category-feature:not([hidden]){grid-template-columns:minmax(0,1fr);margin-bottom:1.35rem}
 .ff-category-feature .ffc-copy{padding:1rem}
 .ff-category-feature .ffc-copy nav{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));gap:.13rem .65rem}
 .ff-topic-links.ff-category-feature .ffc-copy nav a{font-size:.875rem}
 .ff-category-feature .ffc-copy .ffc-primary{grid-column:1/-1;justify-self:start}
 .ff-category-feature .ffc-graphic{grid-template-columns:minmax(5rem,.72fr) minmax(7.5rem,1fr);align-items:center;gap:.4rem;border-left:0;border-top:2px solid #ad8849;padding:.52rem .8rem}
 .ff-category-feature .ffc-graphic img{max-height:4.8rem}
 .ff-category-feature .ffc-graphic p{text-align:left;margin:0}
}
/* Keep the keyboard focus visible without outlining the entire news feed. */
#browse-briefs:focus:has(.ff-category-feature:not([hidden])){outline:none}
#browse-briefs:focus-visible:has(.ff-category-feature:not([hidden])) #browse-briefs-title{outline:2px solid #216367;outline-offset:3px;border-radius:1px;width:fit-content}
#franchise-resource-links{scroll-margin-top:1rem}

/* Archive tools are local to this topic and never appear in the main feed. */
#franchise-resource-links:not([hidden]) ~ .ffc-feed-heading{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:.65rem 1.25rem}
.ffc-feed-copy{min-width:0}
.ffc-feed-heading .ffc-news-tools{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .52rem}
.ffc-feed-heading .ffc-news-tools label{font-size:.86rem;font-weight:750;color:#23454f}
.ffc-feed-heading .ffc-news-tools select{font:inherit;min-height:44px;padding:.38rem .48rem;border:1px solid #819b9b;border-radius:5px;color:#17343e;background:#fff}
.ffc-feed-heading .ffc-news-tools #fee-archive-count{font-size:.84rem;color:#475e64;min-width:4.3rem;text-align:right}
.ffc-feed-heading .ffc-news-tools select:focus-visible{outline:3px solid #216367;outline-offset:2px}
#franchise-fee-news{scroll-margin-top:1rem}
@media(max-width:43rem){.ffc-feed-heading .ffc-news-tools{width:100%;gap:.2rem .45rem}.ffc-feed-heading .ffc-news-tools #fee-archive-count{margin-left:auto;min-width:0}}

#franchise-resource-links:not([hidden]) ~ #stories .story{scroll-margin-top:1rem}
