/* R6 (rollout: learn, events, telemedicine): only the parts the B4 examples have no class for. Loaded after
   inner-learn.css on my pages. Every class here starts "rl-". */

/* a portrait film in the host block, kept at the size its source allows */
.le-host__pic.rl-film{width:100%;max-width:340px;justify-self:center}
.le-host__pic.rl-film video{box-shadow:var(--sh)}

/* a tall picture or film leading an event page (bach party, job site): it sits on the right, the details card beside it,
   not over it (a portrait source shown at the size it allows) */
.rl-tall .le-hero__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.rl-tall .le-hero__pic{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);align-items:end;padding:0;max-width:680px}
.rl-tall .le-hero__pic>video,.rl-tall .le-hero__pic>img{grid-column:2;grid-row:1;width:100%;box-shadow:var(--sh)}
.rl-tall .le-inv__card{position:relative;left:auto;bottom:auto;grid-column:1;grid-row:1;width:auto;margin:0 -24px 48px 0;z-index:1}
@media (max-width:1180px){
  .rl-tall .le-hero__pic{display:block;max-width:420px}
  .rl-tall .le-hero__pic>video,.rl-tall .le-hero__pic>img{max-width:300px;margin:0 auto}
  .rl-tall .le-inv__card{margin:-48px 14px 0}
}
@media (max-width:960px){.rl-tall .le-hero__grid{grid-template-columns:1fr}}

/* a small picture where the source is too small to show wide (their website photos are 800 to 1,200 px) */
.rl-s{max-width:300px}
.rl-m{max-width:400px}
.le-host__pic.rl-s,.le-host__pic.rl-m{width:100%;justify-self:center}

/* six cards in the 4-column themes grid leave two empty slots on a wide screen: three across instead */
@media (min-width:1181px){.le-themes.rl-3{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ten cards in the 5-column grid fall 3, 3, 3 and 1 on a tablet: two across there instead */
@media (max-width:1180px) and (min-width:761px){.le-does.rl-10{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* an opening with no photo: the "starting point" card stands on its own beside the words (how-often) */
.rl-cardonly .le-hero__pic{padding:0;max-width:460px;justify-self:center}
.rl-cardonly .le-inv__card{position:relative;left:auto;bottom:auto;width:auto;margin:0;padding:40px 40px 34px}
.rl-cardonly .le-inv__dl{gap:14px}
.rl-cardonly .le-inv__dl div{grid-template-columns:104px 1fr}
.rl-cardonly .le-inv__dl dd{font-size:17px}
@media (max-width:960px){.rl-cardonly .le-inv__card{margin:0}}

/* a host block with no photo (EDC, F1: their photos were already on other pages): the words in one column, the
   list two across on a wide screen */
.le-host.rl-solo{grid-template-columns:minmax(0,1fr);max-width:1080px}
@media (min-width:961px){.le-host.rl-solo .le-host__list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px}}

/* the "at a glance" card on the age page: its longest label ("Pregnancy") needs a wider label column */
.le-inv__card.rl-dtw .le-inv__dl div{grid-template-columns:92px 1fr}

/* the oral page opens on their own Myers bag and three vials standing on a shelf (no free photo of theirs left) */
.le-hero__pic.rl-prod{max-width:480px;justify-self:center;margin:0}
.rl-prod__stage{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:clamp(6px,1.2vw,16px);padding:clamp(30px,3.4vw,52px) clamp(18px,2.4vw,34px) clamp(34px,3.4vw,50px);border-radius:var(--r);background:linear-gradient(180deg,#fff 0%,var(--wash2) 100%);box-shadow:var(--sh)}
.rl-prod__stage::after{content:"";position:absolute;left:7%;right:7%;bottom:clamp(30px,3.1vw,46px);height:8px;border-radius:6px;background:linear-gradient(180deg,var(--mid),var(--logo));box-shadow:0 8px 14px -8px rgba(0,95,97,.45)}
.rl-prod__stage img{position:relative;z-index:1;display:block;height:auto;margin-bottom:3px}
.rl-prod__vial{width:18%}
.rl-prod__bag{width:31%}

/* the side-by-side table (oral page): the IV column on a pale wash, headers on deep teal */
.rl-vs__wrap{overflow-x:auto;border-radius:var(--r);box-shadow:var(--sh)}
.rl-vs{width:100%;border-collapse:collapse;background:#fff;font-size:16px;line-height:1.5}
.rl-vs th,.rl-vs td{padding:16px 22px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.rl-vs tbody tr:last-child th,.rl-vs tbody tr:last-child td{border-bottom:0}
.rl-vs thead th{background:var(--deep);color:#fff;font:600 13px/1.3 Montserrat,sans-serif;letter-spacing:.12em;text-transform:uppercase;border-bottom:0}
.rl-vs tbody th{font-weight:600;color:var(--ink);width:22%}
.rl-vs tbody td:nth-of-type(1){background:var(--wash1)}
@media (max-width:760px){.rl-vs{font-size:14px}.rl-vs th,.rl-vs td{padding:12px 12px}.rl-vs tbody th{width:26%}.rl-vs thead th{font-size:12px;letter-spacing:.08em}}

/* six vials: three across on a wide screen instead of five and one */
@media (min-width:961px){.le-shelf.rl-3col{grid-template-columns:repeat(3,minmax(0,1fr));max-width:980px;margin-inline:auto}}

/* state chips that open each state's page (why-choose): the whole chip is the link */
.le-chips.rl-links{margin-top:26px}
.le-chips.rl-links li{padding:0;transition:background .2s,border-color .2s}
.le-chips.rl-links a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 18px;color:inherit;text-decoration:none}
@media (hover:hover){.le-chips.rl-links li:hover{background:var(--wash2);border-color:var(--mid)}}

/* age page: the three age cards carry a sentence each, too long for three phone-width columns, so they stack */
@media (max-width:760px){
  .le-tiers.rl-words{grid-template-columns:minmax(0,1fr);gap:10px}
  .le-tiers.rl-words .le-tier{min-height:0;padding:20px 20px 22px}
}
