.howto-content{
  position: relative;
  width: 100%;
  box-sizing: border-box;

  overflow-x: hidden;
  overflow-y: auto;
}

.howto-content.photos {
  overflow-y: hidden;
}

.howto-content .em-frost {
  overflow: auto;
}

@media (pointer: coarse) and (orientation: portrait){
.howto-content {
  padding-bottom: 40px;
}
}


.howto-content:has(.em-inline-sheet) .em-inline-sheet{
  padding-bottom: min(40vh, 120px);
}

@media (pointer: coarse) and (orientation: landscape){
.howto-content:has(.em-inline-sheet) .em-inline-sheet{
  padding-bottom: min(40vh, 80px);
}
}


.page-shell:has(.em-lightbox-inline) .tabs-bar {
  display: none;
  }





.em-empty {
    text-align: center;
   }

.howto-footer-disclaimer {
  display: block;
  width: 100%;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 8px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.74;
  text-wrap: balance;
  color: #5b6472;
  color: var(--sub, #5b6472);
  margin-bottom: 3em;
}

.howto-footer-disclaimer p {
  margin: 0;
}

.theme-dark .howto-footer-disclaimer {
  color: #9aa3b2;
  color: var(--sub, #9aa3b2);
}

.howto-content .em-host.em-compact{
  min-height: 100%;
  container-type: inline-size;
  --em-compact-tile-size: clamp(72px, 10cqi, 132px);
  --em-compact-icon-size: clamp(42px, 6.4cqi, 84px);
}


.howto-content .em-host.em-compact > .em-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, var(--em-compact-tile-size));
  justify-content: center;
  align-items: start;
  grid-gap: clamp(12px, 1.25cqi, 18px);
  gap: clamp(12px, 1.25cqi, 18px);
  padding-bottom: 2em;
}

.howto-content .em-host.em-compact .em-tile-wrap,
.howto-content .em-host.em-compact .em-tile-wrap-inner{
  width: var(--em-compact-tile-size);
  height: auto;
}


.howto-content .em-host.em-compact .em-tile{
  min-height: 0 !important;
  min-height: initial !important;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 0 !important;

  display: grid;
  place-items: center;

  border-radius: clamp(15px, 15%, 20px);
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
}


.howto-content .em-host.em-compact .em-grid .em-ico:not(.em-chip-icon),
.howto-content .em-host.em-compact .em-grid .em-ico:not(.em-chip-icon) > i,
.howto-content .em-host.em-compact .em-grid .em-ico:not(.em-chip-icon) > i::before{
  font-size: var(--em-compact-icon-size);
}





.em-normal .em-tile__title--outside,
.em-normal .em-tile__meta--outside{
  display: none;
}

.em-tile-wrap-inner {
  height: 100%;
  min-width: 0;
}





.em-compact .em-tile__title--inside,
.em-compact .em-tile__meta--inside{
  display: none;
}


.em-compact .em-tile-label{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}


.em-compact .em-tile__title--outside{
  font-size: clamp(12px, 1.35cqi, 15px);
  width: var(--em-compact-tile-size);
  max-width: 100%;
  margin: 5px auto 0;
  text-align: center;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-hyphens: auto;
          hyphens: auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 0;
}





















.howto-family-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-inline: 12px;
}

.howto-family-page__hero {
  padding: 4px 6px 0;
  max-width: 760px;
}

.howto-family-page__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, #667085 88%, #8b95a7 12%);
  color: color-mix(in srgb, var(--sub, #667085) 88%, #8b95a7 12%);
}

.howto-family-page__title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #101828;
  color: var(--text, #101828);
  text-wrap: balance;
}

.howto-family-page__intro {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: color-mix(in srgb, #667085 94%, #4b5563 6%);
  color: color-mix(in srgb, var(--sub, #667085) 94%, #4b5563 6%);
}

.howto-family-page__sections {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.howto-family-page__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-dark .howto-family-page__eyebrow,
[data-theme="dark"] .howto-family-page__eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.theme-dark .howto-family-page__title,
[data-theme="dark"] .howto-family-page__title {
  color: rgba(255, 255, 255, 0.96);
}

.theme-dark .howto-family-page__intro,
[data-theme="dark"] .howto-family-page__intro {
  color: rgba(255, 255, 255, 0.72);
}


.em-compact .em-tile__meta--outside{
  font-size: 11px;
  opacity: .65;
  margin: 2px 0 0;
  text-align: center;
}



@media (max-width: 550px){
  .em-compact .em-tile__title--outside{
    font-size: 12px;
  }
}




.howto-content .em-host.em-compact .em-tile__blur,
.howto-content .em-host.em-compact .em-tile::after{
  display: none !important;
}


.howto-content .em-host.em-compact .em-tile:hover{
  transform: none;
  background: rgba(0,0,0,.06);
}

.theme-dark .howto-content .em-host.em-compact .em-tile:hover{
  background: rgba(255,255,255,.08);
}

.howto-content .em-host.em-compact .em-tile:focus-visible{
  outline: 2px solid var(--gt-accent);
  outline-offset: 2px;
}


.howto-content .em-host.em-compact .em-inline-sheet{
  padding-left: 1em;

  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
  gap: 12px;
}

@media (min-width:700px){
  .howto-content .em-host.em-compact .em-inline-sheet.is-multi{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .howto-content .em-host.em-compact .em-inline-sheet.is-single{
    grid-template-columns: 1fr;
  }
}


.howto-content .em-host.em-compact
.em-inline-sheet .em-searchbar.em-searchbar--sm{
  display: none !important;
}

.howto-content .em-host.em-compact .em-sheet{
  height: fit-content;
  
  margin-bottom: 1rem;
  
  width: 100%;
}



@media (pointer: coarse) and (orientation: landscape){
  .howto-content .em-host.em-compact .em-grid
{
    justify-content: center;
    border-top: none;
  }

}


@media (pointer: coarse) and (orientation: portrait){
  .howto-content .em-host.em-compact .em-grid
{
    justify-content: center;
  }
}










.howto-content .em-grid:not(.em-frost *){
  padding-bottom: 200px;
}


@media (pointer: coarse){
.howto-content .em-grid:not(.em-frost *){
  padding-bottom: 100px;
}

}



.howto-content .em-host.em-normal .em-grid .em-ico{
  font-size: clamp(96px, 18cqi, 180px);
}


.howto-content .em-frost{
  cursor: pointer;
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: stretch;

  padding: clamp(12px, 8vh, 64px) clamp(12px, 4vw, 32px);
  background: rgba(0,0,0,.35);
}

.em-searchbar.em-searchbar--sm {
  display: flex;
}

@media (pointer: coarse) and (orientation: landscape){
  .howto-content .em-frost{
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: clamp(12px, 4vw, 32px);
    padding-right: clamp(12px, 4vw, 32px);
  }
  .howto-content .em-search, .howto-content .em-sheet-head .em-searchbar.em-searchbar--sm {
    display: none;
  }
}

.howto-content .em-host.em-normal .em-search {
  display: none;
}


@media (pointer: coarse) and (orientation: portrait){
  .howto-content .em-frost{
    
    padding-top: 70px
  }
}

@media (pointer: coarse) and (orientation: portrait){
  html.entry-ios .howto-content .em-frost,
  body.entry-ios .howto-content .em-frost{
    padding-top: 110px;
  }
}



@media (display-mode: standalone) and (orientation: portrait){
  .howto-content .em-frost{
    padding-top: calc(100px + 0px);
    padding-top: calc(100px + var(--app-top-safe-reserve, 0px));
    padding-bottom: calc(50px + 0px);
    padding-bottom: calc(50px + var(--app-safe-bottom, 0px));
    padding-left: clamp(12px, 4vw, 32px);
    padding-right: clamp(12px, 4vw, 32px);
  }
}

.howto-content .em-frost .em-sheet{
  width: min(92vw, 1100px);
  
  height: fit-content;
  max-height: calc(100dvh - 2 * clamp(12px, 6vh, 64px));

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.howto-content .em-frost .em-sheet-body{
  flex: 1 1 auto;
  overflow-y: auto;

  
  
    
  -webkit-overflow-scrolling: touch;
}


.em-lightbox-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.em-lightbox-video-title {
  margin: .51em;
}


.em-lightbox-video-title, .em-lightbox-description {
  cursor: auto;
  cursor: initial;
  position: absolute;
  width: max-content; 
  margin-top: .5em;
  

right: auto;
  z-index: 5;

  padding: 8px 12px;
  border-radius: 8px;

  font-weight: 800;
  font-size: 15px;
  line-height: 1.4;
  align-content: center;
  height: 24px;

  color: rgba(255,255,255,.95);
  text-shadow:
    0 1px 2px rgba(0,0,0,.6),
    0 0 20px rgba(0,0,0,.35);
  background:
    linear-gradient(
      180deg,
      rgba(20,20,28,.165),
      rgba(10,10,14,.145)
    );

  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  box-shadow:
    0 12px 32px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(0,0,0,.4);

  pointer-events: none;
}


.em-lightbox-description  {
  height: auto;
  width: -webkit-fit-content;
  position: fixed;
}
@media (hover: hover) and (pointer: fine) {
  .em-lightbox-description {
    left: 50%;
    transform: translateX(-50%);
  }
}



.em-lightbox-media-inner{
  cursor: auto;
  cursor: initial;
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  
  
  align-content: center;
  justify-content: center;
}

.em-lightbox-video > video {
  border-radius: 10px;
}







.howto-content .em-lightbox-inline{
  inset: 0;
  z-index: 1100;

  display: flex;
  justify-content: center;
  

  padding: clamp(12px, 6vh, 48px) clamp(12px, 4vw, 32px);
  background:
  radial-gradient(140% 90% at 10% 10%, rgba(255,255,255,.18), transparent 45%),
  radial-gradient(120% 80% at 90% 85%, rgba(0,0,0,.45), transparent 55%),
  linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.65));
backdrop-filter: blur(8px) saturate(140%);
-webkit-backdrop-filter: blur(8px) saturate(140%);

    aspect-ratio: auto;
}

.howto-content .em-lightbox-inline{
  position: fixed;
}

@media (pointer: coarse) and (orientation: portrait){
  html.entry-ios .howto-content .em-lightbox-inline,
  body.entry-ios .howto-content .em-lightbox-inline{
    padding-top: 110px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}







.howto-content .em-lightbox-inline img{
  
  
  object-fit: contain;

  
  
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.08);
}

.howto-content .em-lightbox-inline img:not(.em-lightbox-thumbs img) {
  
  border-radius: 14px;
  
    
    
}


.howto-content .em-lightbox-inline video{
   object-fit: contain; 
  
  
}

.howto-content .em-lightbox-media{
  cursor: pointer;
  position: relative;
  
  max-width: calc(100vw - 2 * clamp(12px, 4vw, 32px));
  max-height: calc(100dvh - 3 * clamp(12px, 6vh, 48px));
  padding: 2em;
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
}

@media (orientation: portrait){
  .howto-content .em-lightbox-media{
     min-width: 90%;
  }
}
@media (orientation: landscape){
  .howto-content .em-lightbox-media{
     min-width: 100%;
  }
}





.howto-content:has(.em-frost){
  overflow: hidden !important;
}





.howto-content:has(.em-lightbox-media)  {
  touch-action:manipulation;
}

.howto-content .em-frost .em-sheet.em-animate-in{
  touch-action: pan-y;
  cursor: auto;
  cursor: initial;
}



.howto-content .em-lightbox-inline img{
  cursor:auto;
  cursor:initial;
  transition: transform .25s ease, cursor .15s;
}

.howto-content .em-lightbox-inline video{
  cursor: pointer;
  transition: transform .25s ease, cursor .15s;
}


.howto-content .em-lightbox-inline.is-zoomed img {
  cursor: zoom-out;
  transform: scale(1);           
  max-width: none;
  max-height: none;
}


.howto-content .em-lightbox-inline.is-zoomed{
  overflow: auto;
}

.howto-content .em-lightbox-inline::before{
  pointer-events: none;
}

.em-lightbox-media img {
  
  -webkit-user-select: none;
          user-select: none;
  will-change: transform;
    -webkit-user-drag: none;

}















.em-lightbox-actions{
  padding: .51em;
justify-content: flex-end;


   position: absolute;
   
   right: 0;


  display: flex;
  gap: 10px;
  z-index: 4;
}


@media (orientation: landscape) and (max-height: 600px){
  .em-lightbox-actions{
    position: fixed;
    top: 0;
    
    padding: 0em 1em 1em;
  }
  .em-lightbox-video-title{
    position: fixed;
    top:0;
    left: 0em;
    margin: 0em 1em 1em;
  }
  .em-lightbox-description {
    position: fixed;
    
    bottom:0;
    left: 1em;
    transform: none;
    transform: initial;
  }
}



@media (orientation: portrait) and (max-width: 519px){
  .em-lightbox-actions{
    position: absolute;
    top: 0;
    right: 0; 
    padding: 0;
  }
  .em-lightbox-video-title{
    position: relative;
    left: 0em;
    
    margin: 0;
    margin-bottom: .35em;
    position: absolute;
    top: 0;
  }
}

@media (orientation: landscape) and (max-aspect-ratio: 4/3) and (max-height:500px){
  .em-lightbox-description{
    position: absolute;
    bottom: 0;
    left: 0;
  }
}



.em-lightbox-btn{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  
  border-radius: 10px;
  border: none;

  color: #fff;

  cursor: pointer;

  text-shadow:
    0 1px 2px rgba(0,0,0,.6),
    0 0 20px rgba(0,0,0,.35);
  background:
    linear-gradient(
      180deg,
      rgba(20,20,28,.165),
      rgba(10,10,14,.145)
    );

  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  box-shadow:
    0 12px 32px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(0,0,0,.4);

  transition: transform .12s ease, background .15s ease;
}

.em-lightbox-btn:hover{
  transform: translateY(-1px);
    text-shadow:
    0 1px 2px rgba(0,0,0,.7),
    0 0 20px rgba(0,0,0,.45);
  background:
    linear-gradient(
      180deg,
      rgba(20,20,28,.265),
      rgba(10,10,14,.245)
    );

  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  box-shadow:
    0 12px 32px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -1px 0 rgba(0,0,0,.5);
}



.em-lightbox-edge{
  position: fixed;
  top: 0;
  bottom: 0;
  
width: 20%;

  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  background: linear-gradient(
    to var(--dir),
    rgba(0,0,0,.35),
    rgba(0,0,0,0)
  );

  color: #fff;
  cursor: pointer;
  z-index: 3;

  opacity: .65;
  transition: opacity .15s ease, background .2s ease;
}

@media (max-width: 620px) {
.em-lightbox-edge.em-lightbox-edge--left {
  justify-content: flex-start;
}
  .em-lightbox-edge.em-lightbox-edge--right {
  justify-content: flex-end;
}
}

.em-lightbox-edge i{
  font-size: clamp(28px, 4vw, 44px);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.6));
}

.em-lightbox-edge:hover{
  opacity: 1;
}

.em-lightbox-edge--left{
  left: 0;
  --dir: right;
}

.em-lightbox-edge--right{
  right: 0;
  --dir: left;
}


.em-lightbox-inline.is-video .em-lightbox-edge {
  top: 50%;
  bottom: auto;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(-50%);
  opacity: 1;
}

.em-lightbox-inline.is-video .em-lightbox-edge--left {
  left: 12px;
}

.em-lightbox-inline.is-video .em-lightbox-edge--right {
  right: 12px;
}



.em-lightbox-thumbs{
  z-index: 3;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
    justify-content: center;   

background: linear-gradient(
  0deg,
  rgba(0,0,0,.55) 0%,
  rgba(0,0,0,.35) 30%,
  rgba(0,0,0,.18) 55%,
  rgba(0,0,0,.08) 75%,
  rgba(0,0,0,.03) 90%,
  transparent 100%
);
mask-image: linear-gradient(
  0deg,
  #000 0%,
  #000 55%,
  rgba(0,0,0,.7) 75%,
  rgba(0,0,0,.3) 88%,
  transparent 100%
);
-webkit-mask-image: linear-gradient(
  0deg,
  #000 0%,
  #000 55%,
  rgba(0,0,0,.7) 75%,
  rgba(0,0,0,.3) 88%,
  transparent 100%
);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  scrollbar-width: none;          
  -ms-overflow-style: none;       
}

@media (min-width: 820px) {
  .em-lightbox-thumbs {
    bottom: 0;
    
  }
}

@media (orientation: landscape) and (min-width: 800px) {
  .em-lightbox-thumbs {
    bottom: 0;
    
    
  }
}

@media (orientation: landscape) and (max-height: 1100px) {
  .em-lightbox-thumbs {
    display: none !important;
  }
}


@media (min-aspect-ratio: 16/12) and (max-height: 1100px) {
  
}
@media (min-aspect-ratio: 2/4) and (max-height: 1100px) {
  .em-lightbox-thumbs{
    display: none !important;
  }
}


.em-lightbox-thumbs::-webkit-scrollbar{
  display: none;                  
}

.em-lightbox-thumb{
  flex: 0 0 auto;
  

  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  padding: 0;
  cursor: pointer;
}

@media (orientation: portrait){
  .em-lightbox-thumb{
  width: 10cqh;
  height: 10cqh;
  border-radius: 1cqh;
  }
}
@media (orientation: landscape){
  .em-lightbox-thumb{
  width: 5cqw;
  height: 5cqw;
  border-radius: 1cqw;
  }
}




#drugspro-app-web .em-lightbox-thumbs img{
  width: 100%;
  height: 100%;
  
  display: block;
  cursor: pointer;
}

.em-lightbox-thumb.is-active{
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.em-lightbox-thumb .mdi{
  font-size: 28px;
  color: #fff;
}





.howto-content .em-thumb{
  min-height: 120px;            
}


.howto-content .em-thumb{
  background: linear-gradient(90deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,.16),
    rgba(255,255,255,.06)
  );
  background-size: 200% 100%;
  animation: em-skel 1.1s linear infinite;
}

@keyframes em-skel{
  from{ background-position: 200% 0; }
  to{ background-position: -200% 0; }
}


.howto-content .em-thumb img{
  display:block;
  width:100%;
  height:auto;
}










.em-lightbox-media{
  height: calc(100dvh - 2 * clamp(12px, 6vh, 48px));
}

@media (pointer: coarse) and (orientation: portrait){
  html.entry-ios .em-lightbox-media,
  body.entry-ios .em-lightbox-media{
    height: calc(100dvh - 2 * clamp(12px, 6vh, 48px));
    max-height: calc(100dvh - 2 * clamp(12px, 6vh, 48px));
  }
}





.em-lightbox-video {
  position: relative;

  max-width: 100%;
  max-height: 100%;

  

  display: flex;
  align-items: center;
  justify-content: center;
}

.em-lightbox-video > video{
  max-width: 100%;
  max-height: 100%;

  

}


.em-lightbox-media-inner{

  
height: 100%;
}

@media (pointer: coarse) and (orientation: portrait){
  html.entry-ios .em-lightbox-media-inner,
  body.entry-ios .em-lightbox-media-inner{
    max-height: 90%;
  }
}

.em-lightbox-media-inner:has(video){
  height: 100%;
}



.em-lightbox-media-inner > img,
.em-lightbox-media-inner > video{
  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;
  display: block;
}







.em-lightbox-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.em-video-underlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; 
  z-index: 0;
  border-radius: 10px!important;
}

.em-lightbox-video video {
  position: relative;
  z-index: 1;
  background: transparent;
}

.em-video-underlay {
  box-shadow: none!important;
}

@media (max-aspect-ratio: 16/9) {
  .em-lightbox-video {
    height: auto;
    
  }
}

body.lightbox-open .yarl__portal {
  z-index: 1002;
}

body.lightbox-open .yarl__container,
body.lightbox-open .yarl__root {
  background: rgba(7, 10, 17, 0.92);
}

body.lightbox-open .yarl__toolbar {
  display: none;
}

body.lightbox-open .yarl__slide {
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.lightbox-open .yarl__carousel {
  height: 100dvh;
  align-items: center;
}

body.lightbox-open .yarl__thumbnails {
  position: relative;
  height: 100dvh;
}

body.lightbox-open .yarl__thumbnails_wrapper {
  flex: 1 1 auto;
  min-height: 100%;
  display: flex;
}

body.lightbox-open .em-lightbox-media {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding:
    max(env(safe-area-inset-top, 0px), 72px)
    max(env(safe-area-inset-right, 0px), 12px)
    max(env(safe-area-inset-bottom, 0px), 72px)
    max(env(safe-area-inset-left, 0px), 12px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.lightbox-open .yarl__slide_image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.lightbox-open .yarl__thumbnails_thumbnail > .yarl__slide_image,
body.lightbox-open .yarl__thumbnails_thumbnail > .yarl__slide_image_cover {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

body.lightbox-open .yarl__thumbnails_thumbnail .yarl__flex_center {
  width: 100%;
  height: 100%;
}

body.lightbox-open .yarl__thumbnails_container {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: linear-gradient(
    0deg,
    rgba(7,10,17,.96) 0%,
    rgba(7,10,17,.88) 35%,
    rgba(7,10,17,.72) 65%,
    rgba(7,10,17,.48) 85%,
    rgba(7,10,17,.24) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 12px;
}

body.lightbox-open .yarl__thumbnails_container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * env(safe-area-inset-bottom, 0px) - 28px);
  height: calc(100% + env(safe-area-inset-bottom, 0px) + 28px);
  background: rgba(7, 10, 17, 0.92);
  z-index: -1;
  pointer-events: none;
}

body.lightbox-open .yarl__thumbnails_track {
  justify-content: center;
}

body.lightbox-open .yarl__thumbnails_thumbnail {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
}

body.lightbox-open .yarl__thumbnails_thumbnail_active {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

@media (orientation: landscape) and (max-height: 1100px) {
  
}

.howto-thumb-img.is-loaded {
  width: auto;
  height: 100%;
}

.yarl__thumbnails_thumbnail {
  padding: 0;
}


body.lightbox-open {
  --em-lightbox-overlay-pad: clamp(12px, 2.5vw, 24px);
  --em-lightbox-overlay-max: min(92vw, 920px);
  --em-lightbox-thumbs-offset: 112px;
  --em-lightbox-media-radius: clamp(16px, 2.2vw, 24px);
  --em-lightbox-button-radius: 16px;
}

body.lightbox-open .em-lightbox-actions {
  position: fixed;
  top: max(env(safe-area-inset-top, 0px), var(--em-lightbox-overlay-pad));
  right: max(env(safe-area-inset-right, 0px), var(--em-lightbox-overlay-pad));
  left: auto;
  margin: 0;
  padding: 0;
  align-items: center;
  z-index: 8;
}

body.lightbox-open .em-lightbox-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--em-lightbox-button-radius);
}

body.lightbox-open .em-lightbox-media-inner,
body.lightbox-open .em-lightbox-video,
body.lightbox-open .em-lightbox-video > video,
body.lightbox-open .em-lightbox-media-inner > img,
body.lightbox-open .em-lightbox-media-inner > video,
body.lightbox-open .yarl__slide img.yarl__slide_image,
body.lightbox-open .yarl__slide img.yarl__slide_image_cover {
  border-radius: var(--em-lightbox-media-radius) !important;
}

body.lightbox-open .em-lightbox-media-inner,
body.lightbox-open .em-lightbox-video {
  overflow: hidden;
}

body.lightbox-open .em-lightbox-media-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.lightbox-open .em-lightbox-media-inner > img,
body.lightbox-open .em-lightbox-media-inner > video,
body.lightbox-open .em-lightbox-video > video {
  margin: auto;
}

body.lightbox-open .em-lightbox-video-title,
body.lightbox-open .em-lightbox-description {
  position: fixed;
  
  width: min(var(--em-lightbox-overlay-max), calc(100vw - 2 * var(--em-lightbox-overlay-pad)));
  max-width: calc(100vw - 2 * var(--em-lightbox-overlay-pad));
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.42;
  text-wrap: pretty;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

body.lightbox-open .em-lightbox-video-title {
  top: max(env(safe-area-inset-top, 0px), var(--em-lightbox-overlay-pad));
  
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 800;
  white-space: normal;
  z-index: 6;
  background: rgba(12, 16, 24, 0.9);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.05);
  width: auto!important;
  padding-right: 15px!important;

}

body.lightbox-open .em-lightbox-description {
  bottom: calc(
    max(env(safe-area-inset-bottom, 0px), var(--em-lightbox-overlay-pad)) +
    var(--em-lightbox-thumbs-offset)
  );
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 600;
  z-index: 6;
}

@media (max-width: 700px) {
  body.lightbox-open .em-lightbox-video-title,
  body.lightbox-open .em-lightbox-description {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  body.lightbox-open .em-lightbox-video-title {
    padding-right: 104px;
  }

  body.lightbox-open .em-lightbox-media {
    padding:
      max(env(safe-area-inset-top, 0px), 68px)
      max(env(safe-area-inset-right, 0px), 8px)
      max(env(safe-area-inset-bottom, 0px), 68px)
      max(env(safe-area-inset-left, 0px), 8px);
  }
}

@media (orientation: landscape) and (max-height: 640px) {
  body.lightbox-open .em-lightbox-actions {
    top: max(env(safe-area-inset-top, 0px), 10px);
    right: max(env(safe-area-inset-right, 0px), 10px);
  }

  body.lightbox-open .em-lightbox-video-title,
  body.lightbox-open .em-lightbox-description {
    width: min(84vw, 760px);
    max-width: min(84vw, 760px);
  }

  body.lightbox-open .em-lightbox-video-title {
    top: max(env(safe-area-inset-top, 0px), 10px);
  }

  body.lightbox-open .em-lightbox-description {
    bottom: max(env(safe-area-inset-bottom, 0px), 10px);
  }
}

@media (min-aspect-ratio: 16/12) and (max-height: 1100px) {
  body.lightbox-open .yarl__thumbnails_container {
    display: none !important;
  }
}

@media (orientation: landscape) and (max-height: 1100px) {
  
}

@media (min-aspect-ratio: 16/12) and (max-height: 1100px) {
  body.lightbox-open {
    --em-lightbox-thumbs-offset: 0px;
  }
}

