/* EN homepage edition. Intentionally excludes hero, navigation and detail pages. */
.mgge193-home{--edition-ink:#24211c;--edition-muted:#736d64;--edition-line:#e6ddd0;--edition-gold:#96632d}
.mgge193-home .mgge193-section,.mgge193-home .mgge193-collections{margin:56px 0;padding:0;min-width:0;color:var(--edition-ink)}
.mgge193-home .mgge193-section .mgge38-heading,.mgge193-home .mgge193-collections .mgge38-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 24px;flex-wrap:wrap}
.mgge193-home .mgge193-section .mgge38-heading>div,.mgge193-home .mgge193-collections .mgge38-heading>div{min-width:0;flex:1 1 300px}
.mgge193-home .mgge193-section h2,.mgge193-home .mgge193-collections h2{font-size:clamp(26px,3vw,38px);line-height:1.15;margin:6px 0 10px;overflow-wrap:anywhere}
.mgge193-home .mgge193-section .mgge38-heading em,.mgge193-home .mgge193-collections .mgge38-heading em{font-size:11px;letter-spacing:.15em;font-style:normal;color:var(--edition-gold)}
.mgge193-home .mgge193-section .mgge38-heading p,.mgge193-home .mgge193-collections .mgge38-heading p{font-size:15px;line-height:1.6;color:var(--edition-muted);margin:0}
.mgge193-home .mgge193-section .mgge38-heading>a,.mgge193-home .mgge193-collections .mgge38-heading>a{flex:none;border:1px solid var(--edition-line);border-radius:30px;padding:12px 18px;color:var(--edition-gold);font-size:13px;min-height:44px;text-decoration:none}
.mgge193-home .mgge193-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.mgge193-home .mgge193-card{min-width:0;height:auto;background:#fff;border:1px solid var(--edition-line);border-radius:14px;overflow:hidden;margin:0;box-shadow:0 8px 22px #33231006}
.mgge193-home .mgge193-card>a{display:flex;flex-direction:column;height:100%;color:var(--edition-ink);text-decoration:none;min-width:0}
.mgge193-home .mgge193-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;flex:none}
.mgge193-home .mgge193-card-body{display:flex;flex:1;flex-direction:column;gap:12px;padding:18px;min-width:0}
.mgge193-home .mgge193-card h3{font-size:19px;line-height:1.35;font-weight:650;white-space:normal;overflow-wrap:anywhere;margin:0;display:block;height:auto;max-height:none;-webkit-line-clamp:unset}
.mgge193-home .mgge193-card p{font-size:12px;line-height:1.6;color:var(--edition-muted);margin:0;white-space:normal;overflow-wrap:anywhere}
.mgge193-home .mgge193-card-cta{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-top:auto;padding-top:8px;color:var(--edition-gold);font-size:13px;font-weight:600}
.mgge193-home .mgge193-section--warm{background:#f7f0e4;border-radius:20px;padding:30px}
.mgge193-home .mgge193-section--rail .mgge193-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/4);overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 16px;scrollbar-width:thin;scrollbar-color:#bd9a70 #f7f0e4}
.mgge193-home .mgge193-section--rail .mgge193-card{scroll-snap-align:start}
.mgge193-home .mgge193-section--feature .mgge193-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mgge193-home .mgge193-section--feature .mgge193-card:first-child{grid-column:span 2;grid-row:span 2;background:#f3ede2}
.mgge193-home .mgge193-section--feature .mgge193-card:first-child img{aspect-ratio:3/2}
.mgge193-home .mgge193-section--feature .mgge193-card:first-child h3{font-size:clamp(24px,2.7vw,36px)}
.mgge193-home .mgge193-collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:start}
.mgge193-home .mgge193-collection{display:flex;flex-direction:column;min-width:0;text-decoration:none;color:var(--edition-ink);border-radius:16px;overflow:hidden;background:#f1eadf}
.mgge193-home .mgge193-collection:nth-child(2n){background:#edf0e5}
.mgge193-home .mgge193-collection img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
.mgge193-home .mgge193-collection>span{display:flex;flex-direction:column;gap:12px;padding:20px}
.mgge193-home .mgge193-collection small{font-size:10px;letter-spacing:.12em}
.mgge193-home .mgge193-collection strong{font-size:21px;line-height:1.3;overflow-wrap:anywhere}
.mgge193-home .mgge193-collection b{font-size:13px;line-height:1.5;color:var(--edition-gold);padding:10px 0}
.mgge193-home .mgge193-card a:focus-visible,.mgge193-home .mgge193-collection:focus-visible,.mgge193-home .mgge193-grid:focus-visible{outline:3px solid #96632d;outline-offset:-3px}
.mgge193-home .mgge193-card a:hover h3{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1000px){
.mgge193-home .mgge193-grid,.mgge193-home .mgge193-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.mgge193-home .mgge193-section--rail .mgge193-grid{grid-auto-columns:calc((100% - 36px)/2.5)}
.mgge193-home .mgge193-section--feature .mgge193-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mgge193-home .mgge193-section--feature .mgge193-card:first-child{grid-row:auto}
}
@media(max-width:600px){
.mgge193-home .mgge193-section,.mgge193-home .mgge193-collections{margin:36px 0}
.mgge193-home .mgge193-section--warm{padding:18px 12px;border-radius:12px}
.mgge193-home .mgge193-grid{gap:12px}
.mgge193-home .mgge193-card-body{padding:12px;gap:10px}
.mgge193-home .mgge193-card h3{font-size:16px;line-height:1.4}
.mgge193-home .mgge193-card p{font-size:11px}
.mgge193-home .mgge193-section--rail .mgge193-grid{grid-auto-columns:78%;gap:14px}
.mgge193-home .mgge193-collection-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;grid-template-rows:auto;overflow-x:auto;gap:14px;padding-bottom:12px;scroll-snap-type:x proximity}
.mgge193-home .mgge193-collection{scroll-snap-align:start;height:auto}
.mgge193-home .mgge193-section .mgge38-heading,.mgge193-home .mgge193-collections .mgge38-heading{align-items:start;gap:12px}
.mgge193-home .mgge193-section .mgge38-heading>div,.mgge193-home .mgge193-collections .mgge38-heading>div{flex-basis:100%}
}
@media(max-width:359px){.mgge193-home .mgge193-grid,.mgge193-home .mgge193-section--feature .mgge193-grid{grid-template-columns:minmax(0,1fr)}.mgge193-home .mgge193-section--feature .mgge193-card:first-child{grid-column:auto}.mgge193-home .mgge193-section--rail .mgge193-grid{grid-template-columns:none}}
/* Override legacy homepage heading widths only inside the new edition shelves. */
.mgge193-home .mgge193-section .mgge38-heading>div,.mgge193-home .mgge193-collections .mgge38-heading>div{max-width:100%!important}
@media(max-width:600px){.mgge193-home .mgge193-section .mgge38-heading p,.mgge193-home .mgge193-collections .mgge38-heading p{font-size:14px!important}.mgge193-home .mgge193-section .mgge38-heading>a,.mgge193-home .mgge193-collections .mgge38-heading>a{font-size:12px!important}}
/* Four guide stories need natural rows, rather than the old percentage heights. */
.mgge193-home .mgge3944-knowledge__stories{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
.mgge193-home .mgge3944-knowledge-story>a{display:flex!important;flex-direction:column!important;height:100%!important}
.mgge193-home .mgge3944-knowledge-story__media{flex:none!important;width:100%!important;aspect-ratio:4/3!important}
.mgge193-home .mgge3944-knowledge-story__body{flex:1!important;min-width:0!important}
.mgge193-home .mgge3944-knowledge-story__body strong{line-height:1.3!important;font-size:21px!important;overflow-wrap:anywhere!important}
@media(max-width:600px){.mgge193-home .mgge3944-knowledge-story__body strong{font-size:18px!important}}
/* beta1.95: content-sized rows. No two-row lead card / empty beige body. */
.mgge193-home .mgge193-grid{display:flex;flex-wrap:wrap;gap:24px}
.mgge193-home .mgge193-grid>.mgge193-card{flex:1 1 calc((100% - (var(--shelf-columns,4) - 1)*24px)/var(--shelf-columns,4))}
.mgge193-home .mgge193-section--feature .mgge193-grid{display:flex}
.mgge193-home .mgge193-section--feature .mgge193-card:first-child{grid-column:auto;grid-row:auto;flex-basis:calc(50% - 12px);align-self:stretch}
.mgge193-home .mgge193-section--feature .mgge193-card:first-child>a{display:flex;height:100%}
.mgge193-home .mgge193-section--feature .mgge193-card:first-child img{aspect-ratio:4/3;max-height:320px;object-fit:cover}
.mgge193-home .mgge193-section--feature .mgge193-card:first-child h3{font-size:24px}
.mgge193-home .mgge193-section--feature .mgge193-card-body{flex:0 0 auto}
.mgge193-home .mgge193-section--feature .mgge193-card-cta{margin-top:0}
.mgge193-home .mgge193-collection-grid{grid-template-columns:repeat(var(--collection-columns,4),minmax(0,1fr))}
.mgge193-home .mgge193-collection-grid img{max-height:300px}
.mgge193-home .mgge193-section--rail .mgge193-grid{display:grid;grid-auto-columns:calc((100% - (var(--shelf-columns,4) - 1)*24px)/var(--shelf-columns,4));flex-wrap:nowrap}
@media(max-width:1000px){
 .mgge193-home .mgge193-grid>.mgge193-card{flex-basis:calc(50% - 12px)}
 .mgge193-home .mgge193-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mgge193-home .mgge193-section--rail .mgge193-grid{grid-auto-columns:calc((100% - 36px)/2.5)}
}
@media(max-width:600px){
 .mgge193-home .mgge193-grid{gap:12px}
 .mgge193-home .mgge193-grid>.mgge193-card{flex-basis:calc(50% - 6px)}
 .mgge193-home .mgge193-section--feature .mgge193-card:first-child{flex-basis:100%}
 .mgge193-home .mgge193-section--rail .mgge193-grid{grid-auto-columns:78%}
 .mgge193-home .mgge193-collection-grid{grid-template-columns:none}
}
@media(max-width:359px){.mgge193-home .mgge193-grid>.mgge193-card{flex-basis:100%}}

@media(min-width:1101px){
body.mgge-lang-en #mgge-en-primary-header .mgge-en-top-language .mgge-language-menu__summary{height:36px!important;min-width:62px!important;padding:0 8px!important;border-color:#e2dbd1!important;font-size:11px!important;gap:5px!important}
body.mgge-lang-en #mgge-en-primary-header .mgge-en-top-language .mgge-language-menu__panel{width:174px!important;min-width:174px!important;border:1px solid #e7dfd1!important;border-radius:13px!important;padding:6px!important;box-shadow:0 18px 46px rgba(27,22,15,.16)!important}
}


/* beta1.96 — Edition feature shelves are real compact recipe collections, not
 * a 50%-width first-image billboard. Hero remains completely unchanged. */
@media (min-width:1001px){
  .mgge193-home .mgge193-section--feature .mgge193-grid{
    display:grid!important;
    grid-template-columns:repeat(var(--shelf-columns,4),minmax(0,1fr))!important;
    grid-auto-rows:auto!important;gap:20px!important;align-items:stretch!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-grid>.mgge193-card,
  .mgge193-home .mgge193-section--feature .mgge193-grid>.mgge193-card:first-child{
    grid-column:auto!important;grid-row:auto!important;flex:none!important;
    align-self:stretch!important;background:#fff!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-card img,
  .mgge193-home .mgge193-section--feature .mgge193-card:first-child img{
    width:100%!important;aspect-ratio:4/3!important;max-height:220px!important;
    height:auto!important;object-fit:cover!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-card:first-child h3{
    font-size:19px!important;line-height:1.3!important;
  }
}
@media (min-width:601px) and (max-width:1000px){
  .mgge193-home .mgge193-section--feature .mgge193-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-grid>.mgge193-card:first-child{
    grid-column:auto!important;grid-row:auto!important;flex:none!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-card:first-child img{
    max-height:210px!important;aspect-ratio:4/3!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-card:first-child h3{font-size:19px!important}
}
@media (max-width:600px){
  .mgge193-home .mgge193-section--feature .mgge193-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-grid>.mgge193-card:first-child{
    grid-column:auto!important;grid-row:auto!important;flex:none!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-card:first-child img{
    max-height:170px!important;aspect-ratio:4/3!important;
  }
  .mgge193-home .mgge193-section--feature .mgge193-card:first-child h3{font-size:16px!important}
}
@media (max-width:359px){.mgge193-home .mgge193-section--feature .mgge193-grid{grid-template-columns:minmax(0,1fr)!important}}
