/* ME-LIPS V7.7 — product-first editorial education; isolated from existing visual system */
.v77-education{background:linear-gradient(145deg,#fffdfb 0%,#fbf3ef 100%);padding:clamp(62px,8vw,114px) 0;border-top:1px solid #f2e9e6;border-bottom:1px solid #f2e9e6;}
.v77-education-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:clamp(35px,5vw,82px)}
.v77-education-story{min-width:0}.v77-education-story h2{font-family:Georgia, 'Times New Roman', serif;font-weight:400;font-size:clamp(2.2rem,3.5vw,3.55rem);line-height:1.13;letter-spacing:-.035em;max-width:15em;margin:.65rem 0 1.1rem;color:#36282e}
.v77-education-story p{max-width:610px;font-size:clamp(.95rem,1.1vw,1.06rem);line-height:1.85;color:#60565b;margin:0 0 1.1rem}
.v77-education-story .v77-education-lede{font-size:clamp(1rem,1.1vw,1.1rem);color:#453940}
.v77-four-benefits{list-style:none!important;padding:0!important;margin:1.65rem 0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.5rem;max-width:650px}
.v77-four-benefits li{list-style:none!important;border-top:1px solid #ddcbc4;padding:.85rem 0;color:#59414b;font-size:.87rem;letter-spacing:.035em;font-weight:550}
.v77-four-benefits li::before{content:'✦';font-size:.56rem;color:#b79074;margin-right:.75rem;vertical-align:middle}
.v77-action-row{display:flex;align-items:center;gap:1.55rem;flex-wrap:wrap;margin:1.7rem 0 .9rem}
.v77-action-row .v3-button{white-space:normal;text-align:center}
.v77-education-story .v77-amazon-text{color:#926c58;font-size:.91rem;text-decoration:underline;text-underline-offset:5px;display:inline-block;margin:.4rem 0}
.v77-education-story .v77-availability{font-size:.78rem;color:#83737b;line-height:1.6;margin:.2rem 0 0}
.v77-jar-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,26px);align-items:center}
.v77-jar-pair figure{margin:0;min-width:0;background:#fff;border:1px solid #f0e4df;box-shadow:0 9px 30px rgba(69,37,38,.035);padding:clamp(10px,1.25vw,18px);border-radius:6px;text-align:center}
.v77-jar-pair img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain}
.v77-jar-pair figcaption{font-size:.75rem;line-height:1.5;letter-spacing:.03em;color:#7a6365;padding:12px 0 3px}
.v77-product-explainer{background:#fff8f5;border:1px solid #eee0dc;border-radius:6px;margin:2.2rem 0;padding:clamp(1.4rem,2vw,2.3rem);color:#564951;line-height:1.8}
.v77-product-explainer>p{max-width:960px}.v77-product-explainer .v77-four-benefits{max-width:800px}
.v77-trans-product{padding-top:2rem;padding-bottom:4rem}.v77-translation-lede{font-size:1.06rem;line-height:1.8;color:#5e4a53;max-width:900px;margin:1.5rem auto 2rem}
.v77-trans-product>.v77-four-benefits{margin-inline:auto!important;max-width:850px}.v77-trans-directions,.v77-trans-shop{max-width:850px;margin:2rem auto;padding:1.3rem 0;line-height:1.85;color:#594951}
.v77-trans-directions h2{font:400 clamp(1.7rem,3vw,2.2rem)/1.25 Georgia,serif;color:#36282e;margin:0 0 1rem}
.v77-trans-shop{border-top:1px solid #e5dad5;text-align:center}.v77-trans-shop p{font-size:.85rem;color:#71656b;margin:.9rem 0 0}
@media(max-width:860px){.v77-education-grid{grid-template-columns:1fr;gap:2.4rem}.v77-education-story h2{max-width:18em}.v77-jar-pair{max-width:650px;margin:0 auto;width:100%}.v77-education{padding:55px 0}}
@media(max-width:520px){.v77-education-story h2{font-size:clamp(2rem,9vw,2.6rem)}.v77-jar-pair figcaption{font-size:.7rem}.v77-jar-pair figure{padding:7px}.v77-education-story .v77-education-lede{line-height:1.75}.v77-four-benefits{gap:0 1rem}}

/* V7.8: Fix inherited fixed-height editorial portrait frame.
   A broader body:not(.v3) .content img rule forced height:auto and left a pink gap.
   Preserve the intended portrait crop on desktop and remove the artificial height on mobile. */
body:not(.v3) .content .editorial-img > img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
@media (max-width: 790px) {
    body:not(.v3) .content .editorial-img {
        height: auto;
        max-height: none;
    }
    body:not(.v3) .content .editorial-img > img {
        display: block;
        width: 100%;
        height: auto !important;
        object-fit: cover;
    }
}
/* V7.8: Packshot cards showcase packaging rather than excessive source-photo whitespace. */
.v77-jar-pair img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
@media (max-width: 520px) {
    .v77-jar-pair { gap: 10px; }
    .v77-jar-pair figure { padding: 7px; }
}
