.learn-page .blog-main {
  padding-bottom: 0;
}

.learn-hero {
  min-height: 360px;
}

.learn-hero .blog-hero__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 54%, rgba(0, 0, 0, 0.18) 100%);
}

.learn-hero__content {
  max-width: 560px;
  transform: translateX(-3.4rem);
}

.learn-hero__desktop-break {
  display: inline;
}

.learn-keynotes {
  background: var(--color-sand);
  color: #232527;
  padding: clamp(2rem, 5vw, 3.3rem) 0;
}

.learn-keynotes__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.6rem, 3.5vw, 2.7rem);
  align-items: center;
}

.learn-keynotes h2,
.learn-workshops h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
}

.learn-keynotes p,
.learn-workshops p {
  margin: 0.85rem 0 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  max-width: 62ch;
}

.learn-keynotes__image-wrap {
  margin: 0;
}

.learn-keynotes__image-wrap img {
  display: block;
  width: min(315px, 100%);
  margin-left: auto;
  height: auto;
  border-radius: 12px;
}

.learn-videos {
  background: #27282b;
  padding: clamp(2rem, 5vw, 3.2rem) 0;
}

.learn-videos .container {
  max-width: 1060px;
}

.learn-videos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.learn-videos__grid iframe {
  width: 92%;
  justify-self: center;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  display: block;
}

.learn-testimonials {
  padding: clamp(2rem, 5vw, 3.2rem) 0;
}

.learn-testimonials--light {
  background: var(--color-sand);
  color: #222426;
}

.learn-testimonials--dark {
  background: #27282b;
  color: #f3f4f6;
}

.learn-testimonials__grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.learn-testimonials__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.learn-testimonials__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learn-quote-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.learn-quote-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.learn-quote-card h3 {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.learn-quote-card p,
.learn-logo-quote p {
  margin: 0.75rem 0 0;
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  line-height: 1.45;
  font-weight: 700;
}

.learn-quote-card__person {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.learn-workshops {
  background: #27282b;
  color: #f3f4f6;
  padding: clamp(2rem, 5vw, 3.2rem) 0;
}

.learn-workshops__grid {
  margin: 1.4rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.8vw, 2rem);
  max-width: 980px;
  justify-items: center;
}

.learn-workshops .container {
  max-width: 1180px;
}

.learn-workshops__grid a {
  display: block;
}

.learn-workshops__grid img {
  width: min(100%, 300px);
  display: block;
  margin: 0 auto;
  height: auto;
}

.learn-workshops__hint {
  margin: 1rem auto 0;
  width: fit-content;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  opacity: 0.82;
}

.learn-logo-quote__logo {
  width: auto;
  max-width: min(220px, 100%);
  height: 54px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (max-width: 980px) {
  .learn-testimonials__grid--two,
  .learn-testimonials__grid--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .learn-hero {
    min-height: 300px;
  }

  .learn-hero__desktop-break {
    display: none;
  }

  .learn-hero__content {
    transform: none;
    max-width: 100%;
  }

  .learn-hero h1 {
    font-size: clamp(1.85rem, 9.2vw, 2.65rem);
    line-height: 1.1;
  }

  .learn-hero p {
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 32ch;
  }

  .learn-keynotes__grid,
  .learn-workshops__grid,
  .learn-videos__grid {
    grid-template-columns: 1fr;
  }

  .learn-keynotes__image-wrap img {
    margin-left: auto;
    margin-right: auto;
  }

  .learn-keynotes p,
  .learn-workshops p {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .learn-quote-card p,
  .learn-logo-quote p {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .learn-videos__grid iframe {
    width: 100%;
  }

  .learn-logo-quote__logo {
    height: 44px;
  }
}
