/* Editorial buying-guide bento for category hubs.
   Visual reference: asymmetric image-led cards. All type and colours remain Come Feast With Me.
   Other pages, the homepage, product landing pages and the notebook are deliberately unaffected. */
body.editorial-site .feast-internal-hub .hub-section .editorial-cards.feast-bento {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-template-rows:minmax(300px,auto) minmax(220px,auto) minmax(300px,auto) minmax(380px,auto);
  grid-auto-rows:minmax(380px,auto);
  grid-auto-flow:row dense;
  gap:15px;
  align-items:stretch;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card {
  position:relative;
  min-width:0;min-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-radius:19px;
  border:1px solid #e5d7c9;
  background:#fff9f2;
  padding:0;
  box-shadow:0 8px 24px rgba(52,30,18,.10);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:hover {
  transform:translateY(-3px);
  border-color:#cda480;
  box-shadow:0 15px 38px rgba(52,30,18,.19);
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card > a:first-child {
  display:block;
  position:relative;
  margin:0;
  padding:0;
  text-decoration:none;
  color:inherit;
  min-height:0;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card img,
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:not(:first-child) img {
  display:block;
  width:100%;
  aspect-ratio:auto;
  height:52%;
  object-fit:cover;
  object-position:center;
  border:0;border-radius:0;
  filter:saturate(.98) contrast(1.03);
  transition:transform .35s ease;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card h3,
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:not(:first-child) h3 {
  font-family:var(--font-display),Georgia,serif;
  font-weight:650;
  font-size:clamp(22px,2.05vw,29px)!important;
  line-height:1.12!important;
  letter-spacing:-.028em!important;
  color:#39281e;
  margin:0;
  padding:17px 20px 0;
  text-wrap:balance;
  overflow-wrap:break-word;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card > p {
  font-family:var(--font-body),sans-serif;
  font-size:13px;
  line-height:1.55;
  color:#725849;
  margin:9px 20px 11px;
  flex:1;
  display:block;
  overflow:visible;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card > a:last-child {
  display:inline-flex;
  align-items:center;justify-content:flex-start;
  align-self:flex-start;
  margin:0 20px 18px;
  padding:0;
  width:max-content;
  min-height:32px;
  border:0;
  font:750 12px/1.4 var(--font-body),sans-serif;
  color:#99532e!important;
  text-decoration:none;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card a:focus-visible {
  outline:3px solid #c28a58;
  outline-offset:3px;
}
/* Feature 01: cinematic photograph with a dark left-side reading area. */
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child {
  grid-column:1 / span 6;
  grid-row:1 / span 2;
  padding:36px 38px 34px;
  justify-content:flex-end;
  background:#241914;
  color:#fffaf2;
  border-color:#3f2b20;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child::before {
  content:"";
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(26,15,10,.92) 0%,rgba(26,15,10,.69) 47%,rgba(26,15,10,.1) 100%),
             linear-gradient(0deg,rgba(26,15,10,.4),transparent 55%);
  pointer-events:none;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child::after {
  content:"FEATURED GUIDE";
  position:absolute;top:35px;left:38px;z-index:2;
  color:#f5c28f;
  font:800 10px/1.5 var(--font-body),sans-serif;
  letter-spacing:.19em;
  padding-top:13px;
  border-top:3px solid #d58b54;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child > a:first-child {
  position:static;
  z-index:auto;
  width:min(100%,395px);
  margin:0;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child img {
  position:absolute;
  inset:0;z-index:0;
  width:100%;height:100%;object-fit:cover;object-position:center;
  max-width:none;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child h3 {
  position:relative;z-index:2;
  max-width:12ch;
  padding:0;
  margin:0 0 13px;
  color:#fffaf2!important;
  font-size:clamp(33px,3.35vw,45px)!important;
  line-height:1.04!important;
  letter-spacing:-.04em!important;
  text-shadow:0 3px 15px #150f0b7c;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child > p {
  position:relative;z-index:2;
  max-width:34ch;
  color:#fff1e3!important;
  margin:0 0 22px;
  font-size:14px;
  line-height:1.55;
  flex:none;

}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child > a:last-child {
  position:relative;z-index:2;
  margin:0;
  min-height:47px;
  padding:11px 22px;
  border-radius:999px;
  background:#c87a44;
  color:#fff!important;
  box-shadow:0 6px 18px #180f0a55;
  font-size:13px;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child > a:last-child:hover {
  background:#ae6030;
}
/* Feature 02: editorial half-photo / half-copy panel. */
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) {
  grid-column:7 / span 6;grid-row:1;
  min-height:250px;
  padding:23px 26px;
  background:#f6eadb;
  justify-content:center;
  border-color:#ead9c8;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2)::before {
  content:"";
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,#f9eee1 0%,#f9eee1 38%,rgba(249,238,225,.93) 49%,rgba(249,238,225,.1) 75%);
  pointer-events:none;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) > a:first-child {position:static}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) img {
  position:absolute;right:0;top:0;
  width:65%;height:100%;object-fit:cover;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) h3 {
  position:relative;z-index:2;
  padding:0;
  width:59%;
  font-size:clamp(22px,2.25vw,31px)!important;
  line-height:1.1!important;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) > p {
  position:relative;z-index:2;
  width:51%;
  margin:10px 0 9px;
  flex:none;
  font-size:12px;
  line-height:1.5;

}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) > a:last-child {
  position:relative;z-index:2;
  margin:0;
  color:#9c5833!important;
}
/* Two tall narrow image-led guides, with bold serif headings beneath the photos. */
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(3) {
  grid-column:7 / span 3;grid-row:2 / span 2;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(4) {
  grid-column:10 / span 3;grid-row:2 / span 2;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(3) img,
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(4) img {
  height:205px;
  width:100%;
  object-fit:cover;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(3) h3,
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(4) h3 {
  padding:15px 17px 0;
  font-size:clamp(21px,1.9vw,26px)!important;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(3) > p,
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(4) > p {
  margin:8px 17px 8px;
  font-size:12px;

}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(3) > a:last-child,
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(4) > a:last-child {
  margin:0 17px 15px;
}
/* A compact horizontal feature across the left bottom of the mosaic. */
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) {
  grid-column:1 / span 6;grid-row:3;
  padding:19px 24px 18px 49%;
  background:#fff6eb;
  justify-content:center;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) > a:first-child {position:static}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) img {
  position:absolute;left:0;top:0;
  width:44%;height:100%;object-fit:cover;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) h3 {
  position:relative;
  padding:0;
  font-size:clamp(20px,1.95vw,27px)!important;
  line-height:1.08!important;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) > p {
  margin:8px 0 8px;
  font-size:12px;line-height:1.46;
  flex:none;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) > a:last-child {
  margin:0;
}
/* Remaining guides are a neat three-across editorial gallery. */
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(n+6) {
  grid-column:span 4;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(n+6) img {
  height:168px;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(n+6) h3 {
  padding:16px 20px 0;
  font-size:clamp(21px,1.9vw,27px)!important;
}
body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(n+6) > p {

  margin-top:9px;
}
/* Non-featured collection sections retain standard reading-order grids, but pick up a softer surface. */
body.editorial-site .feast-internal-hub .hub-section:not(:first-of-type) .editorial-card {
  background:#fffcf7;
}
body.editorial-site .feast-internal-hub .hub-section > h2 {
  font-family:var(--font-display),Georgia,serif;
}
body.editorial-site .feast-internal-hub .hub-section:has(> .feast-bento) > h2 {
  margin-bottom:24px;
}
/* Search switches to a conventional grid while terms are entered, avoiding empty mosaic slots. */
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .editorial-cards.feast-bento {
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:none;
  grid-auto-rows:auto;
  gap:18px;
}
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card:not([hidden]) {
  grid-column:auto!important;grid-row:auto!important;
  padding:0!important;
  min-height:330px;
  background:#fff9f2!important;
  color:#39281e!important;
  border:1px solid #e5d7c9;
}
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card::before,
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card::after {
  display:none!important;
}
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card > a:first-child {position:relative!important;width:100%!important;min-height:0!important}
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card img {
  position:static!important;width:100%!important;height:175px!important;
}
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card h3 {
  max-width:none!important;width:100%!important;padding:16px 19px 0!important;
  color:#39281e!important;font-size:24px!important;text-shadow:none!important;
}
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card > p {
  position:static!important;width:auto!important;max-width:none!important;
  margin:8px 19px 12px!important;flex:1!important;color:#725849!important;
  font-size:13px!important;
}
body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card > a:last-child {
  position:static!important;margin:0 19px 16px!important;
  padding:0!important;min-height:28px!important;
  background:none!important;border:0!important;
  color:#99532e!important;box-shadow:none!important;
  border-radius:0!important;font-size:12px!important;
}
/* Tablet: two-column editorial feature and manageable card heights. */
@media(max-width:1000px){
  body.editorial-site .feast-internal-hub .hub-section .editorial-cards.feast-bento {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:none;grid-auto-rows:auto;
    gap:15px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card {
    grid-column:span 1!important;grid-row:auto!important;
    min-height:340px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child {
    grid-column:span 2!important;min-height:420px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) {
    grid-column:span 2!important;min-height:245px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) {
    grid-column:span 2!important;min-height:200px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(3) img,
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(4) img {
    height:200px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(n+6) img {
    height:195px;
  }
  body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .editorial-cards.feast-bento {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
/* Phones: preserve the image-first hierarchy without narrow, clipped text. */
@media(max-width:600px){
  body.editorial-site .feast-internal-hub .hub-section .editorial-cards.feast-bento,
  body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .editorial-cards.feast-bento {
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card {
    grid-column:1!important;grid-row:auto!important;min-height:0;
    border-radius:16px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child {
    grid-column:1!important;min-height:420px;padding:27px 25px 26px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child::after {
    top:24px;left:25px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child h3 {
    font-size:clamp(32px,8.3vw,43px)!important;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:first-child > p {
    font-size:13px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) {
    grid-column:1!important;min-height:255px;padding:22px 20px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) h3 {
    width:70%;font-size:clamp(22px,5.4vw,28px)!important;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2) > p {width:66%}
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(2)::before {
    background:linear-gradient(90deg,#f9eee1 0%,rgba(249,238,225,.97) 42%,rgba(249,238,225,.43) 78%);
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(3),
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(4),
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(n+6) {
    min-height:320px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) {
    grid-column:1!important;min-height:220px;padding-left:46%;padding-right:15px;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) img {
    width:42%;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:nth-child(5) h3 {
    font-size:22px!important;
  }
  body.editorial-site .feast-internal-hub.feast-bento-filtering .hub-section .feast-bento > .editorial-card:not([hidden]) {
    grid-column:1!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card,
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card img {
    transition:none!important;
  }
  body.editorial-site .feast-internal-hub .hub-section .feast-bento > .editorial-card:hover{
    transform:none!important;
  }
}
