/* FoodEdge homepage blocks + alignment, 23 Nov 2026.
   Orange is an accent only. Do not invent claims. */

/* ----- Shared content edge: cancel beige-section horizontal inset ----- */
.fe-portal-home .fe-newsroom-followups,
.fe-portal-home .fe-home-curation,
.fe-portal-home .fe-reports-section{
  padding-inline:0;
}
@media(max-width:600px){
  .fe-portal-home .fe-newsroom-followups,
  .fe-portal-home .fe-home-curation,
  .fe-portal-home .fe-reports-section{
    padding-inline:0;
  }
}

/* ----- Price line: once, at the foot of More news, above the section divider ----- */
.fe-home-price-line{margin:0;max-width:62ch;font-size:15px;line-height:1.5;color:#171a1b}
.fe-home-news-row .fe-home-price-line{margin:28px 0 0;padding-top:20px}
.fe-home-price-line a{color:#171a1b;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.fe-home-price-line a:hover,.fe-home-price-line a:focus-visible{color:#9d4200}

/* ----- Real A4 PDF page 1. No crop. Do not link to the PDF file. ----- */
.fe-pdf-cover{display:block;width:100%;aspect-ratio:1/1.414;background:#fff;border:1px solid #171a1b;overflow:hidden;min-width:0}
.fe-pdf-cover picture{display:block;width:100%;height:100%}
.fe-pdf-cover img{width:100%;height:100%;object-fit:contain;object-position:center top;display:block;background:#fff}
.fe-guide-pick .fe-pdf-cover img,
.fe-report-cover--a4 .fe-pdf-cover img,
.fe-latest-file-card .fe-pdf-cover img,
.fe-pdf-cover img{
  max-width:100%;
  max-height:none;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center top;
  margin-bottom:0;
}

/* ----- Latest Report: cropped title-panel cover, standfirst, stats, one CTA ----- */
.fe-home-latest-file{margin:8px 0 36px;padding-top:8px}
.fe-home-latest-file .fe-section-title{margin-bottom:16px}
.fe-latest-file-card{display:grid;grid-template-columns:1fr;gap:16px;align-items:start;width:100%;min-width:0;margin:0;padding:0;border:0;background:transparent}
.fe-latest-file-card .fe-pdf-cover,
.fe-latest-file-card .fe-pdf-cover--panel{width:100%;max-width:none;aspect-ratio:1190/985;height:auto;align-self:start;background:#171a1b;overflow:hidden}
.fe-latest-file-card .fe-pdf-cover img{width:100%;height:100%;object-fit:contain;object-position:center top}
.fe-latest-file-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-top:2px}
.fe-latest-file-copy h3{margin:0;max-width:22ch;font-size:clamp(28px,2.8vw,40px);font-weight:700;line-height:1.12;letter-spacing:-.035em;color:#171a1b;text-wrap:balance}
.fe-latest-file-by{margin:0;font-size:15px;line-height:1.4;color:#3e4648}
.fe-latest-file-copy .fe-access{margin:0}
.fe-latest-file-deck{margin:0;max-width:62ch;font-size:16px;line-height:1.5;color:#171a1b}
.fe-latest-file-foot{width:100%;margin:0;padding:0;background:transparent}
.fe-latest-file-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;width:100%;margin:0;padding:16px 0 0;border-top:1px solid #171a1b;list-style:none}
.fe-latest-file-figures li{min-width:0;margin:0;padding:0}
.fe-latest-file-figures strong{display:block;margin:0 0 6px;font-size:clamp(20px,1.7vw,26px);font-weight:750;line-height:1.1;letter-spacing:-.03em;color:#171a1b}
.fe-latest-file-figures span{display:block;font-size:12px;line-height:1.4;color:#3e4648}
.fe-latest-file-cta{margin-top:14px;align-self:flex-start}
@media(max-width:1099px){
  .fe-latest-file-card .fe-pdf-cover,
  .fe-latest-file-card .fe-pdf-cover--panel{max-width:720px}
}
@media(min-width:1100px){
  /* Two-column only where the 1190/985 panel is tall enough to meet the copy. */
  .fe-latest-file-card{grid-template-columns:4.2fr 7.8fr;align-items:stretch}
  .fe-latest-file-copy{height:100%}
  .fe-latest-file-foot{margin-top:auto}
}

/* ----- Commission steps ----- */
.fe-home-commission{margin:28px 0 12px;padding:28px 0 8px;border-top:1px solid var(--fe-rule,#d9deda)}
.fe-home-commission .fe-section-title{margin-bottom:20px}
.fe-commission-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 24px;margin:0;padding:0;list-style:none}
.fe-commission-steps li{position:relative;min-width:0;margin:0;padding:0;border-top:3px solid #171a1b}
.fe-commission-num{display:block;margin:10px 0 8px;font-size:12px;font-weight:650;letter-spacing:.08em;color:#5c6568}
.fe-commission-steps strong{display:block;margin:0;font-size:18px;font-weight:700;line-height:1.2;letter-spacing:-.02em;color:#171a1b}
.fe-commission-steps p{margin:8px 0 0;max-width:28ch;font-size:14px;line-height:1.45;color:#3e4648}
.fe-commission-note{margin:22px 0 0;max-width:62ch;font-size:13px;line-height:1.45;color:#5c6568}

/* ----- Guides: one strict equal-height grid, 4 reserved rows ----- */
.fe-portal-home .fe-guide-showcase{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:20px;
  row-gap:28px;
  align-items:stretch;
}
.fe-portal-home .fe-guide-showcase>.fe-section-title{
  grid-column:1/-1;
  margin-bottom:0;
}
.fe-portal-home .fe-guide-showcase .fe-guide-picks.fe-guide-picks--minis{
  display:contents;
  border-top:0;
  padding-top:0;
  gap:0;
}
.fe-portal-home .fe-guide-showcase .fe-report-mini{
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  margin:0;
}
.fe-portal-home .fe-guide-showcase .fe-report-mini>a,
.fe-portal-home .fe-guide-showcase [data-ad-panel]{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto minmax(4.35em,auto) auto;
  grid-template-areas:"media" "status" "desc" "cta";
  gap:10px;
  height:100%;
  min-width:0;
  align-items:stretch;
}
.fe-portal-home .fe-guide-showcase .fe-pdf-cover,
.fe-portal-home .fe-guide-showcase .fe-consult-cover,
.fe-portal-home .fe-guide-showcase .fe-book-promotion-lead{
  grid-area:media;
  width:100%;
  aspect-ratio:1/1.414;
  box-sizing:border-box;
  min-width:0;
  margin:0;
}
.fe-portal-home .fe-guide-showcase .fe-consult-cover{
  aspect-ratio:1/1.414 !important;
  height:auto;
  max-height:none;
}
.fe-portal-home .fe-guide-showcase .fe-guide-status,
.fe-portal-home .fe-guide-showcase .fe-book-promotion-detail{
  grid-area:status;
  display:flex;
  align-items:center;
  margin:0;
  min-height:24px;
  font-size:12px;
  line-height:1.4;
  font-weight:650;
  letter-spacing:0;
  text-transform:none;
  color:#3e4648;
}
.fe-portal-home .fe-guide-showcase .fe-guide-desc,
.fe-portal-home .fe-guide-showcase .fe-book-promotion-benefit{
  grid-area:desc;
  margin:0;
  min-height:4.35em;
  font-size:14px;
  line-height:1.45;
  color:#3e4648;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.fe-portal-home .fe-guide-showcase .fe-text-link,
.fe-portal-home .fe-guide-showcase .fe-partner-cta,
.fe-portal-home .fe-guide-showcase .fe-partner-cta.fe-button{
  grid-area:cta;
  display:inline-flex;
  align-items:center;
  gap:8px;
  justify-self:start;
  align-self:end;
  margin:0;
  padding:0;
  min-height:36px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#171a1b;
  font-size:14px;
  font-weight:650;
  line-height:1.3;
  letter-spacing:0;
  text-decoration:none;
  text-transform:none;
  white-space:nowrap;
}
.fe-portal-home .fe-guide-showcase .fe-text-link:link,
.fe-portal-home .fe-guide-showcase .fe-text-link:visited,
.fe-portal-home .fe-guide-showcase .fe-partner-cta:link,
.fe-portal-home .fe-guide-showcase .fe-partner-cta:visited{
  color:#171a1b;
  background:transparent;
}
.fe-portal-home .fe-guide-showcase .fe-text-link:hover,
.fe-portal-home .fe-guide-showcase .fe-text-link:focus-visible,
.fe-portal-home .fe-guide-showcase .fe-partner-cta:hover,
.fe-portal-home .fe-guide-showcase .fe-partner-cta:focus-visible{
  color:#9d4200;
  background:transparent;
}
.fe-portal-home .fe-guide-showcase .fe-text-link .fe-icon,
.fe-portal-home .fe-guide-showcase .fe-partner-cta .fe-icon{
  width:16px;
  height:16px;
  flex:0 0 auto;
}

/* PBH / Appetite: fill the same A4 box; status, desc and CTA sit in the reserved rows. */
.fe-portal-home .fe-guide-showcase .fe-ad-rotation{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:none;
  height:100%;
  min-width:0;
  min-height:0;
  overflow:visible;
}
.fe-portal-home .fe-guide-showcase .fe-ad-panels{
  flex:1 1 auto;
  height:100%;
  min-height:0;
  overflow:visible;
}
.fe-portal-home .fe-guide-showcase [data-ad-panel]{
  box-sizing:border-box;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  overflow:visible;
  min-height:0;
  max-height:none;
}
.fe-portal-home .fe-guide-showcase [data-ad-panel][hidden],
.fe-portal-home .fe-guide-showcase [data-ad-panel][aria-hidden="true"]{
  display:none !important;
}
.fe-portal-home .fe-guide-showcase .fe-book-promotion-lead{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:8px;
  overflow:hidden;
  padding:14px 14px 16px;
  background:#171a1b;
  color:#fff;
  border:1px solid #171a1b;
}
.fe-portal-home .fe-guide-showcase .fe-book-promotion--device .fe-book-promotion-lead>img,
.fe-portal-home .fe-guide-showcase .fe-book-promotion-lead>img{
  flex:1 1 auto;
  width:auto;
  max-width:86%;
  height:auto;
  max-height:none;
  min-height:0;
  aspect-ratio:1/1;
  object-fit:contain;
  align-self:center;
  margin:0;
}
.fe-portal-home .fe-guide-showcase .fe-book-promotion-lead>div{flex:0 0 auto;min-width:0}
.fe-portal-home .fe-guide-showcase .fe-book-promotion h2{
  margin:0;
  font-size:clamp(16px,1.6vw,22px);
  line-height:1.15;
  letter-spacing:-.02em;
  color:#fff;
}
.fe-portal-home .fe-guide-showcase .fe-book-promotion-lead p{
  margin:4px 0 0;
  font-size:12px;
  line-height:1.3;
  color:rgba(255,255,255,.82);
}
.fe-portal-home .fe-guide-showcase [data-ad-panel]>small{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}
.fe-portal-home .fe-guide-showcase .fe-ad-controls{
  display:none !important;
}

/* /reports/ checklist entry: A4 contain. Other titles keep 16/10 covers. */
.fe-report-cover.fe-report-cover--a4{aspect-ratio:1/1.414;background:#fff;overflow:hidden}
.fe-report-cover--a4 .fe-pdf-cover{height:100%;aspect-ratio:auto;border:0}
.fe-report-cover--a4 img{width:100%;height:100%;object-fit:contain;object-position:center top;display:block}

/* Desk search spans the same width as the desk tile grid. */
.fe-home-desk-search{max-width:none;width:100%}

/* ----- Equal-height news, analysis, desk and consult rows ----- */
.fe-portal-home .fe-newsroom-grid{align-items:stretch}
.fe-portal-home .fe-newsroom-grid .fe-story{display:flex;flex-direction:column;height:100%}
.fe-portal-home .fe-newsroom-grid .fe-story-link{display:flex;flex-direction:column;height:100%;min-width:0}
.fe-portal-home .fe-newsroom-grid .fe-story-image{flex:0 0 auto;width:100%;aspect-ratio:3/2;margin:0 0 14px}
.fe-portal-home .fe-newsroom-grid .fe-story-copy{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;min-height:0}
.fe-portal-home .fe-newsroom-grid .fe-story h2{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:calc(1.23em * 3);
  max-height:calc(1.23em * 3);
  white-space:normal;
}
.fe-portal-home .fe-newsroom-grid .fe-story-excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:calc(1.55em * 3);
  max-height:calc(1.55em * 3);
}
.fe-portal-home .fe-newsroom-grid .fe-meta{margin-top:auto;padding-top:10px}

.fe-portal-home .fe-home-desk-grid{align-items:stretch}
.fe-portal-home .fe-desk-tile{height:100%}
.fe-portal-home .fe-desk-tile>a{height:100%}
.fe-portal-home .fe-desk-tile-copy{flex:1 1 auto;display:flex;flex-direction:column}
.fe-portal-home .fe-desk-tile h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:calc(1.25em * 3);
  margin-top:auto;
}

.fe-portal-home .fe-home-consult{align-items:stretch}
.fe-portal-home .fe-home-consult-card{height:100%}
.fe-portal-home .fe-home-consult-card p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:calc(1.45em * 3);
  flex:1 1 auto;
}
.fe-portal-home .fe-home-consult-card .fe-text-link{margin-top:auto}

@media(min-width:900px) and (max-width:1099px){
  .fe-portal-home .fe-guide-showcase{column-gap:16px}
  .fe-portal-home .fe-guide-showcase .fe-book-promotion h2{font-size:18px}
}

@media(max-width:1099px){
  .fe-latest-file-copy h3{font-size:30px;max-width:none}
  .fe-commission-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
}

@media(max-width:899px){
  .fe-portal-home .fe-guide-showcase{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:28px}
}

@media(max-width:899px){
  .fe-latest-file-card{grid-template-columns:1fr;gap:16px;align-items:start}
  .fe-latest-file-copy{height:auto}
  .fe-latest-file-foot{margin-top:4px}
}
@media(max-width:699px){
  .fe-latest-file-figures{grid-template-columns:1fr;gap:12px;padding-top:12px}

  .fe-home-price-line{font-size:14px}
  .fe-latest-file-copy h3{font-size:26px;max-width:none}
  .fe-commission-steps{grid-template-columns:1fr;gap:16px}
}

@media(max-width:599px){
  .fe-portal-home .fe-guide-showcase{grid-template-columns:minmax(0,1fr);row-gap:28px}
  .fe-portal-home .fe-guide-showcase .fe-consult-cover,
  .fe-portal-home .fe-guide-showcase .fe-pdf-cover,
  .fe-portal-home .fe-guide-showcase .fe-book-promotion-lead{aspect-ratio:1/1.414 !important}
}

/* 1px outline debug, toggled for overlay shots only */
body.fe-align-debug .fe-guide-showcase .fe-report-mini,
body.fe-align-debug .fe-guide-showcase .fe-ad-rotation,
body.fe-align-debug .fe-newsroom-grid .fe-story,
body.fe-align-debug .fe-desk-tile,
body.fe-align-debug .fe-home-consult-card,
body.fe-align-debug .fe-latest-file-card{
  outline:1px solid rgba(255,0,0,.85);
  outline-offset:-1px;
}
body.fe-align-debug .fe-guide-showcase .fe-pdf-cover,
body.fe-align-debug .fe-guide-showcase .fe-consult-cover,
body.fe-align-debug .fe-guide-showcase .fe-book-promotion-lead,
body.fe-align-debug .fe-guide-showcase .fe-guide-status,
body.fe-align-debug .fe-guide-showcase .fe-book-promotion-detail,
body.fe-align-debug .fe-guide-showcase .fe-guide-desc,
body.fe-align-debug .fe-guide-showcase .fe-book-promotion-benefit,
body.fe-align-debug .fe-guide-showcase .fe-text-link,
body.fe-align-debug .fe-guide-showcase .fe-partner-cta{
  outline:1px solid rgba(0,70,180,.85);
  outline-offset:-1px;
}

/* Reset inherited mini-card padding and mobile 120px side-by-side grid. */
.fe-portal-home .fe-guide-showcase .fe-report-mini,
.fe-portal-home .fe-guide-showcase .fe-guide-pick,
.fe-portal-home .fe-guide-showcase .fe-ad-rotation{
  border:0;
  border-top:0;
  padding:0;
  margin:0;
}
.fe-portal-home .fe-guide-showcase .fe-report-mini>a{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:auto auto minmax(4.35em,auto) auto;
  grid-template-areas:"media" "status" "desc" "cta";
  gap:10px !important;
  align-items:stretch;
  padding:0;
  margin:0;
}
.fe-portal-home .fe-guide-showcase .fe-book-promotion-lead{
  height:auto !important;
  max-height:none !important;
  min-height:0 !important;
  overflow:hidden !important;
}
.fe-portal-home .fe-guide-showcase .fe-book-promotion--device .fe-book-promotion-lead>img,
.fe-portal-home .fe-guide-showcase .fe-book-promotion-lead>img{
  flex:1 1 0 !important;
  min-height:0 !important;
  max-height:100% !important;
}
.fe-portal-home .fe-guide-showcase .fe-guide-status,
.fe-portal-home .fe-guide-showcase .fe-book-promotion-detail{
  padding:0 !important;
  margin:0 !important;
  min-height:24px !important;
  max-height:24px !important;
  font-size:12px !important;
  line-height:1.4 !important;
  overflow:hidden;
}
.fe-portal-home .fe-guide-showcase .fe-guide-desc,
.fe-portal-home .fe-guide-showcase .fe-book-promotion-benefit{
  padding:0 !important;
  margin:0 !important;
  font-size:14px !important;
  line-height:1.45 !important;
  min-height:4.35em !important;
  max-height:4.35em !important;
}
