/* Homepage lecture overlay, About lecture tile, and featured lecture section. */

.sh-hero__ars {
  --sh-hero-ars-inset: clamp(40px, 8%, 72px);
  --sh-hero-ars-pad-y: 16px;
  --sh-hero-ars-pad-x: 22px;
  --sh-hero-ars-gap: 12px;
  --sh-hero-ars-icon: 42px;
  --sh-hero-ars-title: 1.18rem;
  --sh-hero-ars-arrow: 22px;
  --sh-hero-ars-arrow-gap: 2px;
  --sh-hero-ars-note: clamp(1.9rem, 2vw + .95rem, 2.45rem);

  position: absolute;
  z-index: 2;
  inset-inline-end: var(--sh-hero-ars-inset);
  inset-block-end: var(--sh-hero-ars-inset);
  inset-inline-start: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: min(92%, 400px);
}

.sh-hero__note {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  margin-bottom: 16px;
  pointer-events: none;
  color: #fff;
  text-shadow: 0 1px 2px rgba(18, 29, 49, .28);
  animation: sh-hero-note-float 4.2s ease-in-out infinite;
}

@keyframes sh-hero-note-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.sh-hero__note-text {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-script), var(--font-ar);
  font-style: normal;
  font-weight: 400;
  font-size: var(--sh-hero-ars-note);
  line-height: 1.05;
  letter-spacing: .01em;
  color: inherit;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-6deg);
  transform-origin: center bottom;
}

.sh-hero__note-arrow {
  display: block;
  width: 20px;
  height: auto;
  margin-top: 2px;
  overflow: visible;
}

.sh-hero__ars-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sh-hero-ars-gap);
  width: auto;
  max-width: 100%;
  padding: var(--sh-hero-ars-pad-y) var(--sh-hero-ars-pad-x);
  text-decoration: none;
  color: inherit;
  background: #fffdf8;
  border: none;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(18, 29, 49, .08),
    0 6px 16px rgba(0, 0, 0, .22),
    0 18px 36px rgba(0, 0, 0, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.sh-hero__ars-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(18, 29, 49, .10),
    0 8px 20px rgba(0, 0, 0, .26),
    0 22px 44px rgba(0, 0, 0, .32);
  color: inherit;
}

.sh-hero__ars-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--sh-hero-ars-icon);
  height: var(--sh-hero-ars-icon);
  flex-shrink: 0;
  color: var(--accent);
}

.sh-hero__ars-card-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 0 1 auto;
}

.sh-hero__ars-card-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.sh-hero__ars-card-copy strong {
  font-family: var(--font-h);
  font-size: var(--sh-hero-ars-title);
  font-weight: 700;
  color: var(--text-h);
  line-height: 1.15;
}

.sh-hero__ars-card-meta {
  font-size: .82rem;
  color: var(--text-m);
  line-height: 1.3;
  white-space: nowrap;
}

.sh-hero__ars-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--sh-hero-ars-arrow);
  flex-shrink: 0;
  margin-inline-start: var(--sh-hero-ars-arrow-gap);
  color: var(--accent);
  transition: transform .2s ease;
}

.sh-hero__ars-card:hover .sh-hero__ars-card-arrow {
  transform: translateX(3px);
}

.sh-about-lecture {
  padding-block: 64px;
  background: var(--cream);
}

.sh-about-lecture__panel {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(193,154,54,.10) 0%, transparent 40%),
    var(--white);
  border-inline-start: 4px solid var(--accent);
}

.sh-about-lecture__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(220px, 100%);
  aspect-ratio: 3 / 4;
  justify-self: center;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 18px 36px rgba(26, 43, 74, .22);
}

.sh-about-lecture__mark span {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
  text-align: center;
  line-height: 1.15;
  padding-inline: 16px;
}

.sh-about-lecture__body .sh-eyebrow {
  display: block;
  margin-bottom: 12px;
}

.sh-about-lecture__body h2 {
  font-family: var(--font-h);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  color: var(--text-h);
  line-height: 1.2;
  margin-bottom: 8px;
}

.sh-about-lecture__sub {
  font-size: .95rem;
  color: var(--text-m);
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.sh-about-lecture__lead {
  color: var(--text-m);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 560px;
}

.sh-about-lecture__points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.sh-about-lecture__points li {
  position: relative;
  padding-inline-start: 22px;
  margin-bottom: 10px;
  color: var(--text-h);
  font-size: .95rem;
  line-height: 1.5;
}

.sh-about-lecture__points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.sh-about-lecture__body .sh-btn svg {
  transition: transform .2s ease;
}

.sh-about-lecture__body .sh-btn:hover svg {
  transform: translateX(3px);
}

[dir="rtl"] .sh-about-lecture__body .sh-btn:hover svg {
  transform: translateX(-3px);
}

.sh-about__trust-media--lecture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 64px;
  background: var(--primary);
  border-radius: 3px;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(26, 43, 74, .14);
}

.sh-about__trust-media--lecture svg {
  display: block;
}

@media (min-width: 641px) {
  [dir="rtl"] .sh-hero__note-text {
    transform: rotate(6deg);
  }

  [dir="rtl"] .sh-hero__note-arrow {
    transform: scaleX(-1);
  }
}

[dir="rtl"] .sh-hero__ars-card:hover .sh-hero__ars-card-arrow {
  transform: translateX(-3px);
}

@media (max-width: 900px) {
  .sh-about-lecture__panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sh-about-lecture__lead,
  .sh-about-lecture__points {
    margin-inline: auto;
    text-align: start;
    max-width: 520px;
  }

  .sh-about-lecture__body .sh-btn {
    justify-content: center;
  }

  .sh-hero__ars {
    --sh-hero-ars-inset: 32px;
    --sh-hero-ars-pad-y: 14px;
    --sh-hero-ars-pad-x: 20px;
    --sh-hero-ars-note: clamp(1.95rem, 3.6vw, 2.4rem);
    max-width: min(92%, 380px);
  }
}

@media (max-width: 640px) {
  .sh-about-lecture {
    padding-block: 48px;
  }

  .sh-about-lecture__panel {
    padding: 24px 20px;
  }

  .sh-about-lecture__mark {
    width: 160px;
  }

  .sh-hero__ars {
    --sh-hero-ars-inset: 22px;
    --sh-hero-ars-pad-y: 12px;
    --sh-hero-ars-pad-x: 18px;
    --sh-hero-ars-gap: 10px;
    --sh-hero-ars-icon: 36px;
    --sh-hero-ars-title: 1.12rem;
    --sh-hero-ars-arrow: 24px;
    --sh-hero-ars-arrow-gap: 8px;
    --sh-hero-ars-note: clamp(1.6rem, 6.4vw, 2rem);
    max-width: calc(100% - 44px);
  }

  .sh-hero__note-arrow {
    width: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-hero__note {
    animation: none;
  }
}
