/* Premium independent Pharmacy YouTube Videos suite */

#sidebar.sidebar .mrph-youtube-nav .mrph-youtube-nav-mark {
  position: relative !important;
  overflow: visible !important;
}

#sidebar.sidebar .mrph-youtube-nav .mrph-youtube-nav-mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #f05252;
  opacity: .76;
  transform: scale(.58);
}

#sidebar.sidebar .mrph-youtube-nav:hover .mrph-youtube-nav-mark,
#sidebar.sidebar .mrph-youtube-nav.active .mrph-youtube-nav-mark {
  background: rgba(255, 105, 105, .32) !important;
  box-shadow: 0 0 0 3px rgba(240, 82, 82, .10), 0 0 14px rgba(240, 82, 82, .28) !important;
}

#sidebar.sidebar .mrph-youtube-nav:hover .mrph-youtube-nav-mark::after,
#sidebar.sidebar .mrph-youtube-nav.active .mrph-youtube-nav-mark::after {
  background: #ff6b6b;
  opacity: 1;
}

#view.mrph-view-youtube {
  position: relative;
  min-height: calc(100vh - 92px);
  overflow: hidden;
}

.mrph-youtube-page {
  --mrph-yt-ink: #10263a;
  --mrph-yt-muted: #687d8f;
  --mrph-yt-cyan: #31cddd;
  --mrph-yt-teal: #0c7280;
  --mrph-yt-red: #f05252;
  --mrph-yt-navy: #041726;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px 34px 52px;
  isolation: isolate;
}

.mrph-youtube-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -140px;
  inset-inline-end: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 205, 221, .10), transparent 69%);
  pointer-events: none;
}

.mrph-youtube-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(105, 223, 232, .18);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 87% 11%, rgba(49, 205, 221, .28), transparent 18rem),
    radial-gradient(circle at 14% 100%, rgba(9, 116, 128, .24), transparent 19rem),
    linear-gradient(142deg, #041725 0%, #072e45 58%, #0d7180 100%);
  box-shadow: 0 28px 72px rgba(4, 26, 42, .20);
}

.mrph-youtube-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .25));
}

.mrph-youtube-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 4%, rgba(49, 205, 221, .75) 42%, rgba(240, 82, 82, .82) 68%, transparent 96%);
  opacity: .78;
}

.mrph-youtube-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 34px 54px 54px;
}

[dir="rtl"] .mrph-youtube-hero-copy {
  padding: 58px 54px 54px 34px;
}

.mrph-youtube-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 25px;
  padding: 9px 12px;
  border: 1px solid rgba(137, 232, 240, .19);
  border-radius: 999px;
  color: #c8f4f7;
  background: rgba(49, 205, 221, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mrph-youtube-mini-play {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 7px;
  background: linear-gradient(145deg, #ff6c6c, #db3434);
  box-shadow: 0 6px 15px rgba(230, 53, 53, .28);
}

.mrph-youtube-mini-play::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #fff;
}

.mrph-youtube-hero h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.9vw, 68px);
  font-weight: 860;
  line-height: .99;
  letter-spacing: -.052em;
  text-wrap: balance;
}

[dir="rtl"] .mrph-youtube-hero h2 {
  line-height: 1.12;
  letter-spacing: -.025em;
}

.mrph-youtube-hero-copy > p {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(224, 243, 246, .79);
  font-size: 15px;
  line-height: 1.85;
}

.mrph-youtube-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.mrph-youtube-signals span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px 0 29px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  color: rgba(235, 248, 250, .84);
  background: rgba(255, 255, 255, .055);
  font-size: 10.5px;
  font-weight: 760;
  letter-spacing: .01em;
}

[dir="rtl"] .mrph-youtube-signals span {
  padding: 0 29px 0 13px;
}

.mrph-youtube-signals span::before {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55dce8;
  box-shadow: 0 0 0 4px rgba(85, 220, 232, .09), 0 0 12px rgba(85, 220, 232, .35);
}

.mrph-youtube-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 42px 50px 42px 16px;
}

[dir="rtl"] .mrph-youtube-visual {
  padding: 42px 16px 42px 50px;
}

.mrph-youtube-orbit {
  position: absolute;
  border: 1px solid rgba(144, 235, 241, .12);
  border-radius: 50%;
  pointer-events: none;
}

.mrph-youtube-orbit-one {
  width: 330px;
  height: 330px;
}

.mrph-youtube-orbit-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  opacity: .64;
  transform: rotate(18deg);
}

.mrph-youtube-screen {
  position: relative;
  z-index: 2;
  width: min(390px, 100%);
  min-height: 292px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 25px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  box-shadow: 0 30px 70px rgba(0, 12, 20, .34), inset 0 1px 0 rgba(255, 255, 255, .14);
  backdrop-filter: blur(22px);
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
}

[dir="rtl"] .mrph-youtube-screen {
  transform: perspective(900px) rotateY(7deg) rotateX(2deg);
}

.mrph-youtube-screen::after {
  content: "";
  position: absolute;
  inset: 54px 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
}

.mrph-youtube-screen-top {
  display: flex;
  gap: 6px;
  height: 29px;
}

.mrph-youtube-screen-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .26);
}

.mrph-youtube-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 68px;
  margin: 30px auto 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ff6e6e, #d92c2c);
  box-shadow: 0 20px 40px rgba(218, 43, 43, .30), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.mrph-youtube-play::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(255, 106, 106, .19);
  border-radius: 29px;
}

.mrph-youtube-play i {
  display: block;
  width: 0;
  height: 0;
  margin-inline-start: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid #fff;
}

.mrph-youtube-screen-copy {
  text-align: center;
}

.mrph-youtube-screen-copy small {
  display: block;
  margin-bottom: 8px;
  color: #a9edf2;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mrph-youtube-screen-copy strong {
  display: block;
  color: #fff;
  font-size: 21px;
  line-height: 1.15;
}

.mrph-youtube-screen-copy p {
  max-width: 270px;
  margin: 10px auto 0;
  color: rgba(222, 242, 245, .67);
  font-size: 11px;
  line-height: 1.6;
}

.mrph-youtube-library {
  position: relative;
  margin-top: 38px;
}

.mrph-youtube-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.mrph-youtube-section-head > div:first-child > span,
.mrph-youtube-ready-copy > span {
  display: block;
  margin-bottom: 8px;
  color: #148091;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.mrph-youtube-section-head h3 {
  margin: 0;
  color: var(--mrph-yt-ink);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 840;
  line-height: 1.08;
  letter-spacing: -.04em;
}

[dir="rtl"] .mrph-youtube-section-head h3 {
  letter-spacing: -.018em;
}

.mrph-youtube-section-head p {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--mrph-yt-muted);
  font-size: 13px;
  line-height: 1.75;
}

.mrph-youtube-section-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 38px;
  flex: 0 0 52px;
  border-radius: 13px;
  background: linear-gradient(145deg, #ff7171, #df3434);
  box-shadow: 0 14px 28px rgba(223, 52, 52, .20);
}

.mrph-youtube-section-mark i {
  width: 0;
  height: 0;
  margin-inline-start: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.mrph-youtube-ready-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  align-items: center;
  min-height: 205px;
  overflow: hidden;
  padding: 36px 38px;
  border: 1px solid rgba(16, 84, 105, .10);
  border-radius: 25px;
  background:
    radial-gradient(circle at 94% 16%, rgba(49, 205, 221, .13), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(242, 249, 251, .96));
  box-shadow: 0 22px 56px rgba(13, 51, 70, .09);
}

.mrph-youtube-ready-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #39d1df, #0b7582 72%, #ef5656);
}

[dir="rtl"] .mrph-youtube-ready-card::before {
  inset: 0 0 0 auto;
}

.mrph-youtube-ready-copy {
  position: relative;
  z-index: 1;
}

.mrph-youtube-ready-copy h3 {
  margin: 0;
  color: var(--mrph-yt-ink);
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 830;
  line-height: 1.12;
  letter-spacing: -.035em;
}

[dir="rtl"] .mrph-youtube-ready-copy h3 {
  letter-spacing: -.015em;
}

.mrph-youtube-ready-copy p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--mrph-yt-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.mrph-youtube-ready-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  justify-self: end;
  border: 1px solid rgba(22, 123, 139, .11);
  border-radius: 31px;
  background: linear-gradient(145deg, rgba(49, 205, 221, .11), rgba(255, 255, 255, .82));
  box-shadow: inset 0 1px 0 #fff, 0 16px 34px rgba(10, 84, 99, .09);
  transform: rotate(4deg);
}

[dir="rtl"] .mrph-youtube-ready-symbol {
  justify-self: start;
  transform: rotate(-4deg);
}

.mrph-youtube-ready-symbol::before,
.mrph-youtube-ready-symbol::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(17, 118, 133, .10);
  border-radius: 50%;
}

.mrph-youtube-ready-symbol::before {
  width: 126px;
  height: 126px;
}

.mrph-youtube-ready-symbol::after {
  width: 154px;
  height: 154px;
  border-style: dashed;
  opacity: .68;
}

.mrph-youtube-ready-symbol i {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff6c6c, #dd3434);
  box-shadow: 0 12px 24px rgba(221, 52, 52, .23);
}

.mrph-youtube-ready-symbol i::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.mrph-youtube-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.mrph-youtube-feature-grid article {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 122px;
  padding: 23px 22px;
  overflow: hidden;
  border: 1px solid rgba(16, 78, 100, .09);
  border-radius: 19px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 13px 34px rgba(16, 51, 68, .055);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.mrph-youtube-feature-grid article::after {
  content: "";
  position: absolute;
  top: -34px;
  inset-inline-end: -32px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(49, 205, 221, .10);
  border-radius: 50%;
}

.mrph-youtube-feature-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 205, 221, .22);
  box-shadow: 0 20px 46px rgba(16, 51, 68, .09);
}

.mrph-youtube-feature-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  color: #0c7887;
  background: rgba(49, 205, 221, .10);
  border: 1px solid rgba(49, 205, 221, .14);
  font-size: 9px;
  font-weight: 860;
  letter-spacing: .08em;
}

.mrph-youtube-feature-grid h4 {
  margin: 1px 0 7px;
  color: var(--mrph-yt-ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.25;
}

.mrph-youtube-feature-grid p {
  margin: 0;
  color: var(--mrph-yt-muted);
  font-size: 11.5px;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .mrph-youtube-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .72fr);
  }

  .mrph-youtube-hero-copy {
    padding-inline: 42px 22px;
  }

  [dir="rtl"] .mrph-youtube-hero-copy {
    padding-inline: 22px 42px;
  }

  .mrph-youtube-visual {
    padding-inline: 10px 32px;
  }

  [dir="rtl"] .mrph-youtube-visual {
    padding-inline: 32px 10px;
  }
}

@media (max-width: 900px) {
  .mrph-youtube-page {
    padding: 24px 24px 44px;
  }

  .mrph-youtube-hero {
    grid-template-columns: 1fr;
  }

  .mrph-youtube-hero-copy,
  [dir="rtl"] .mrph-youtube-hero-copy {
    padding: 48px 38px 30px;
  }

  .mrph-youtube-visual,
  [dir="rtl"] .mrph-youtube-visual {
    min-height: 330px;
    padding: 20px 38px 45px;
  }

  .mrph-youtube-orbit-two {
    width: 380px;
    height: 380px;
  }

  .mrph-youtube-feature-grid {
    grid-template-columns: 1fr;
  }

  .mrph-youtube-feature-grid article {
    min-height: 104px;
  }
}

@media (max-width: 620px) {
  .mrph-youtube-page {
    padding: 16px 14px 36px;
  }

  .mrph-youtube-hero {
    min-height: 0;
    border-radius: 22px;
  }

  .mrph-youtube-hero-copy,
  [dir="rtl"] .mrph-youtube-hero-copy {
    padding: 36px 23px 25px;
  }

  .mrph-youtube-hero h2 {
    font-size: clamp(34px, 12vw, 50px);
  }

  .mrph-youtube-hero-copy > p {
    font-size: 13px;
    line-height: 1.75;
  }

  .mrph-youtube-signals {
    gap: 7px;
    margin-top: 23px;
  }

  .mrph-youtube-signals span {
    min-height: 31px;
    font-size: 9.5px;
  }

  .mrph-youtube-visual,
  [dir="rtl"] .mrph-youtube-visual {
    min-height: 285px;
    padding: 9px 22px 34px;
  }

  .mrph-youtube-screen {
    min-height: 250px;
    transform: none;
  }

  [dir="rtl"] .mrph-youtube-screen {
    transform: none;
  }

  .mrph-youtube-orbit-one {
    width: 265px;
    height: 265px;
  }

  .mrph-youtube-orbit-two {
    width: 330px;
    height: 330px;
  }

  .mrph-youtube-library {
    margin-top: 30px;
  }

  .mrph-youtube-section-head {
    align-items: flex-start;
  }

  .mrph-youtube-section-mark {
    width: 44px;
    height: 33px;
    flex-basis: 44px;
  }

  .mrph-youtube-ready-card {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    padding: 28px 24px 35px;
    border-radius: 21px;
  }

  .mrph-youtube-ready-symbol,
  [dir="rtl"] .mrph-youtube-ready-symbol {
    justify-self: center;
  }

  .mrph-youtube-feature-grid article {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mrph-youtube-feature-grid article {
    transition: none;
  }
}