.hero.container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(400px, 43vw, 550px);
  margin-block-start: clamp(12px, 2.2vw, 30px);
  padding: clamp(28px, 5.35vw, 78px);
  border-radius: clamp(19px, 2.6vw, 36px);
  background: #10281d;
  color: #fff8e9;
}

.hero .hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero .hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 52%;
}

html[dir="ltr"] .hero .hero-art {
  transform: scaleX(-1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #10281d 3%, #10281dce 39%, #10281d13 72%);
}

html[dir="rtl"] .hero::before {
  background: linear-gradient(270deg, #10281d 3%, #10281dce 39%, #10281d13 72%);
}

html[dir] .hero .hero-copy {
  padding: 0;
  width: min(100%, 585px);
  max-width: 62%;
  min-width: 0;
  text-align: start;
}

.hero .hero-copy .eyebrow {
  justify-content: flex-start;
  color: #f3cc89;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

html[dir] .hero .hero-copy h1 {
  margin: 13px 0 16px;
  color: inherit;
  font-size: clamp(38px, 5.25vw, 75px);
  line-height: 1.16;
  letter-spacing: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

html[dir="rtl"] .hero .hero-copy h1 {
  line-height: 1.32;
}

html[dir] .hero .hero-description {
  max-width: 43ch;
  margin: 0;
  color: #f3e9d6;
  font-size: clamp(15px, 1.65vw, 19px);
  line-height: 1.7;
}

html[dir] .hero .hero-actions {
  justify-content: flex-start;
  margin-block-start: 26px;
  gap: 10px;
}

.hero .hero-actions .button {
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 9px 17px;
  border-radius: 12px;
  font-weight: 650;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero .hero-actions .primary {
  border-color: #f4d7a2;
  background: #f4d7a2;
  color: #172b21;
}

.hero .hero-actions .primary:hover {
  background: #ffebc7;
}

.hero .hero-reader {
  border-color: #f9ebcc94;
  background: #153327b8;
  color: #fff8e9;
}

.hero .hero-reader:hover {
  border-color: #fff2d5;
  background: #294b3e;
}

.hero .hero-actions a:focus-visible {
  outline: 3px solid #fff8e9;
  outline-offset: 4px;
}

.home-next-arrow {
  font-size: 1.2em;
  line-height: 1;
}

html[dir="rtl"] .home-next-arrow {
  transform: scaleX(-1);
}

.learning-hub .learning-hub__course {
  border-radius: 20px;
  border-color: color-mix(in srgb, var(--green) 24%, var(--line));
  background: linear-gradient(145deg, var(--soft), var(--surface) 125%);
}

.learning-hub .learning-hub__shortcuts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learning-hub .learning-hub__shortcut {
  border-radius: 16px;
}

.learning-hub .learning-hub__shortcut--featured {
  background: var(--soft);
  border-color: color-mix(in srgb, var(--green) 30%, var(--line));
}

.learning-hub .learning-hub__shortcut--featured:hover {
  border-color: var(--green);
}

.learning-hub .learning-hub__shortcut--featured svg {
  color: var(--green);
  background: var(--surface);
}

.learning-hub .learning-hub__shortcut[data-reading-position] small {
  color: var(--green);
  font-weight: 600;
}

.daily-strip.home-reference {
  justify-content: space-between;
  gap: 8px 16px;
  margin-block-start: -3px;
}

@media (max-width: 750px) {
  .hero.container {
    align-items: start;
    min-height: 0;
    padding: clamp(22px, 5vw, 36px);
    padding-block-end: clamp(120px, 28vw, 208px);
  }

  html[dir] .hero .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero .hero-art {
    inset-block-start: auto;
    height: 65%;
  }

  .hero .hero-art img {
    object-position: center 58%;
  }

  .hero::before,
  html[dir="rtl"] .hero::before {
    background: linear-gradient(180deg, #10281d 32%, #10281d 40%, #10281dc7 62%, #10281d14 94%);
  }

  html[dir] .hero .hero-copy h1 {
    font-size: clamp(32px, 7.9vw, 54px);
    text-wrap: pretty;
  }

  html[dir] .hero .hero-actions {
    margin-block-start: 20px;
  }

  .learning-hub .learning-hub__shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-actions .button:hover {
    transform: none;
  }
}
