/* R7, the ingredient pages (/iv-ingredients/<x>/), rolled out from the glutathione page. That page's look is
   inner-learn.css and is used as it is; this file only adds what the example does not have:
   1 the opening picture as a still life of their own product: the vial in front of the bags of the drips that hold it.
     (Every picture on the old ingredient pages is stock or a render, so no ingredient has a real photo of its own.)
   2 the "what it supports" card row at 3, 4 or 6 cards (the example has 5)
   3 the questions on their own when no review fits the page */

/* 1 the still life */
.ri-stage{position:relative;justify-self:center;width:100%;max-width:440px;aspect-ratio:11/13;border-radius:var(--r);overflow:hidden;
  background:radial-gradient(80% 46% at 50% 92%,#fff 0%,rgba(255,255,255,0) 72%),linear-gradient(180deg,var(--wash2) 0%,var(--wash1) 62%,#F7FDFE 100%);
  box-shadow:var(--sh)}
.ri-stage::after{content:"";position:absolute;left:14%;right:14%;bottom:7%;height:8%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(20,34,34,.16),rgba(20,34,34,0));pointer-events:none}
.ri-stage__bags{position:absolute;left:4%;right:4%;top:6%;bottom:22%;display:flex;justify-content:center;align-items:flex-end}
.ri-stage__bags img{display:block;height:86%;width:auto;margin:0 -4%;filter:drop-shadow(0 14px 18px rgba(20,34,34,.14))}
.ri-stage__bags--3 > :nth-child(2),.ri-stage__bags--3 > :nth-child(2) img{height:100%;position:relative;z-index:1}
.ri-stage>img.ri-stage__vial{position:absolute;z-index:2;left:50%;bottom:9%;width:35%;height:auto;max-width:none;transform:translateX(-50%);
  border-radius:0;box-shadow:none;aspect-ratio:auto;object-fit:contain;filter:drop-shadow(0 18px 22px rgba(20,34,34,.3))}
.ri-stage--solo>img.ri-stage__vial{width:54%;bottom:12%}
.ri-stage--bag>img.ri-stage__vial{width:40%;bottom:10%}

/* 2 the card row at other counts */
.le-does.ri-does--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.le-does.ri-does--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.le-does.ri-does--6{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1180px){.le-does.ri-does--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.le-does.ri-does--3,.le-does.ri-does--6{grid-template-columns:1fr 1fr}.le-does.ri-does--3>li:last-child{grid-column:1/-1}}
@media (max-width:420px){.le-does.ri-does--3,.le-does.ri-does--4,.le-does.ri-does--6{grid-template-columns:1fr}}

/* 3 questions alone */
.ri-qa-solo{max-width:900px}

/* small print under a drip's price (Nevada only, select cities) */
.le-bag .ri-note{margin-top:2px;font:400 13px/1.3 "Open Sans",sans-serif;color:var(--text)}
